@@ 1614-1620 (lines=7) @@ | ||
1611 | } |
|
1612 | $xoops_theme_path = \XoopsBaseConfig::get('themes-path'); |
|
1613 | $xoops_theme_url = \XoopsBaseConfig::get('themes-url'); |
|
1614 | if (is_dir($xoops_theme_path . '/' . $theme)) { |
|
1615 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/' . $str_css)) { |
|
1616 | return $xoops_theme_url . '/' . $theme . '/' . $str_css; |
|
1617 | } elseif (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/style.css')) { |
|
1618 | return $xoops_theme_url . '/' . $theme . '/style.css'; |
|
1619 | } |
|
1620 | } |
|
1621 | if (is_dir($xoops_theme_path . '/' . $theme . '/css')) { |
|
1622 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/css/' . $str_css)) { |
|
1623 | return $xoops_theme_url . '/' . $theme . '/css/' . $str_css; |
|
@@ 1621-1627 (lines=7) @@ | ||
1618 | return $xoops_theme_url . '/' . $theme . '/style.css'; |
|
1619 | } |
|
1620 | } |
|
1621 | if (is_dir($xoops_theme_path . '/' . $theme . '/css')) { |
|
1622 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/css/' . $str_css)) { |
|
1623 | return $xoops_theme_url . '/' . $theme . '/css/' . $str_css; |
|
1624 | } elseif (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/css/style.css')) { |
|
1625 | return $xoops_theme_url . '/' . $theme . '/css/style.css'; |
|
1626 | } |
|
1627 | } |
|
1628 | return ''; |
|
1629 | } |
|
1630 |