|
@@ 795-801 (lines=7) @@
|
| 792 |
|
} elseif (preg_match("/MSIE (\d\.\d{1,2})/i", $uagent)) { |
| 793 |
|
$str_css = 'style.css'; |
| 794 |
|
} |
| 795 |
|
if (is_dir(XOOPS_THEME_PATH . '/' . $theme)) { |
| 796 |
|
if (file_exists(XOOPS_THEME_PATH . '/' . $theme . '/' . $str_css)) { |
| 797 |
|
return XOOPS_THEME_URL . '/' . $theme . '/' . $str_css; |
| 798 |
|
} elseif (file_exists(XOOPS_THEME_PATH . '/' . $theme . '/style.css')) { |
| 799 |
|
return XOOPS_THEME_URL . '/' . $theme . '/style.css'; |
| 800 |
|
} |
| 801 |
|
} |
| 802 |
|
if (is_dir(XOOPS_THEME_PATH . '/' . $theme . '/css')) { |
| 803 |
|
if (file_exists(XOOPS_THEME_PATH . '/' . $theme . '/css/' . $str_css)) { |
| 804 |
|
return XOOPS_THEME_URL . '/' . $theme . '/css/' . $str_css; |
|
@@ 802-808 (lines=7) @@
|
| 799 |
|
return XOOPS_THEME_URL . '/' . $theme . '/style.css'; |
| 800 |
|
} |
| 801 |
|
} |
| 802 |
|
if (is_dir(XOOPS_THEME_PATH . '/' . $theme . '/css')) { |
| 803 |
|
if (file_exists(XOOPS_THEME_PATH . '/' . $theme . '/css/' . $str_css)) { |
| 804 |
|
return XOOPS_THEME_URL . '/' . $theme . '/css/' . $str_css; |
| 805 |
|
} elseif (file_exists(XOOPS_THEME_PATH . '/' . $theme . '/css/style.css')) { |
| 806 |
|
return XOOPS_THEME_URL . '/' . $theme . '/css/style.css'; |
| 807 |
|
} |
| 808 |
|
} |
| 809 |
|
|
| 810 |
|
return ''; |
| 811 |
|
} |