diff options
author | spocky <spocky@ampache> | 2007-09-27 20:59:27 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2007-09-27 20:59:27 +0000 |
commit | cb3ecc7353f0e27563e8cda84848350f09306434 (patch) | |
tree | 03cbfdfc5c4aeb362a513c37bb37310bea0dc728 /lib/ui.lib.php | |
parent | b4de052e938ef72f828be0da6323fad80479a916 (diff) | |
download | ampache-cb3ecc7353f0e27563e8cda84848350f09306434.tar.gz ampache-cb3ecc7353f0e27563e8cda84848350f09306434.tar.bz2 ampache-cb3ecc7353f0e27563e8cda84848350f09306434.zip |
- Corrected one more sidebar missing tag
- Cleaned up some more css
- Corrected a bug preventing us from using themers defined icons (also changed searched path to theme_path/images/icons)
- Added ability to further customize album info box
- Updated themes
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index dd5a37d2..d0ae5bcb 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -971,8 +971,8 @@ function get_user_icon($name,$title='',$id='') { $icon_name = 'icon_' . $name . '.png'; /* Build the image url */ - if (file_exists(Config::get('prefix') . '/themes/' . Config::get('theme_path') . '/images/' . $icon_name)) { - $img_url = Config::get('web_path') . Config::get('theme_path') . '/images/' . $icon_name; + if (file_exists(Config::get('prefix') . Config::get('theme_path') . '/images/icons/' . $icon_name)) { + $img_url = Config::get('web_path') . Config::get('theme_path') . '/images/icons/' . $icon_name; } else { $img_url = Config::get('web_path') . '/images/' . $icon_name; @@ -981,8 +981,8 @@ function get_user_icon($name,$title='',$id='') { /* If Hover, then build its url */ if (!empty($hover_name)) { $hover_icon = 'icon_' . $hover_name . '.png'; - if (file_exists(Config::get('prefix') . '/themes/' . Config::get('theme_path') . '/images/' . $icon_name)) { - $hov_url = Config::get('web_path') . Config::get('theme_path') . '/images/' . $hover_icon; + if (file_exists(Config::get('prefix') . Config::get('theme_path') . '/images/icons/' . $icon_name)) { + $hov_url = Config::get('web_path') . Config::get('theme_path') . '/images/icons/' . $hover_icon; } else { $hov_url = Config::get('web_path') . '/images/' . $hover_icon; |