@@ 1598-1604 (lines=7) @@ | ||
1595 | } |
|
1596 | $xoops_theme_path = \XoopsBaseConfig::get('themes-path'); |
|
1597 | $xoops_theme_url = \XoopsBaseConfig::get('themes-url'); |
|
1598 | if (is_dir($xoops_theme_path . '/' . $theme)) { |
|
1599 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/' . $str_css)) { |
|
1600 | return $xoops_theme_url . '/' . $theme . '/' . $str_css; |
|
1601 | } elseif (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/style.css')) { |
|
1602 | return $xoops_theme_url . '/' . $theme . '/style.css'; |
|
1603 | } |
|
1604 | } |
|
1605 | if (is_dir($xoops_theme_path . '/' . $theme . '/css')) { |
|
1606 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/css/' . $str_css)) { |
|
1607 | return $xoops_theme_url . '/' . $theme . '/css/' . $str_css; |
|
@@ 1605-1611 (lines=7) @@ | ||
1602 | return $xoops_theme_url . '/' . $theme . '/style.css'; |
|
1603 | } |
|
1604 | } |
|
1605 | if (is_dir($xoops_theme_path . '/' . $theme . '/css')) { |
|
1606 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/css/' . $str_css)) { |
|
1607 | return $xoops_theme_url . '/' . $theme . '/css/' . $str_css; |
|
1608 | } elseif (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/css/style.css')) { |
|
1609 | return $xoops_theme_url . '/' . $theme . '/css/style.css'; |
|
1610 | } |
|
1611 | } |
|
1612 | if (is_dir($xoops_theme_path . '/' . $theme . '/assets/css')) { |
|
1613 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/assets/css/' . $str_css)) { |
|
1614 | return $xoops_theme_url . '/' . $theme . '/assets/css/' . $str_css; |
|
@@ 1612-1618 (lines=7) @@ | ||
1609 | return $xoops_theme_url . '/' . $theme . '/css/style.css'; |
|
1610 | } |
|
1611 | } |
|
1612 | if (is_dir($xoops_theme_path . '/' . $theme . '/assets/css')) { |
|
1613 | if (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/assets/css/' . $str_css)) { |
|
1614 | return $xoops_theme_url . '/' . $theme . '/assets/css/' . $str_css; |
|
1615 | } elseif (XoopsLoad::fileExists($xoops_theme_path . '/' . $theme . '/assets/css/style.css')) { |
|
1616 | return $xoops_theme_url . '/' . $theme . '/assets/css/style.css'; |
|
1617 | } |
|
1618 | } |
|
1619 | return ''; |
|
1620 | } |
|
1621 |