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