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