summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2007-01-06 00:45:06 +0000
committerspocky <spocky@ampache>2007-01-06 00:45:06 +0000
commitb4cbb5a2291494b672de23da716113cca1222f7e (patch)
tree4342ea4000de710e47d3f96233a217b526ff2256 /lib/ui.lib.php
parentdfde4e4ef702a2a928031bd5a8a7e30fc1cbdfd8 (diff)
downloadampache-b4cbb5a2291494b672de23da716113cca1222f7e.tar.gz
ampache-b4cbb5a2291494b672de23da716113cca1222f7e.tar.bz2
ampache-b4cbb5a2291494b672de23da716113cca1222f7e.zip
fixed a minor issue with truncated genres in sidebar
cleaned up *cough* a little bit *cough* base css file (remind me not to clean anything like this one).
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index bd23daf9..af9bca40 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -893,12 +893,12 @@ function show_genre_pulldown ($name,$selected='',$size=1,$width=0,$style='') {
while ($r = mysql_fetch_assoc($db_result)) {
- $r['name'] = scrub_out($r['name']);
-
if ($width > 0) {
$r['name'] = truncate_with_ellipsis($r['name'],$width);
}
+ $r['name'] = scrub_out($r['name']);
+
if ( $selected == $r['id'] ) {
echo "\t<option value=\"" . $r['id'] . "\" selected=\"selected\">" . $r['name'] . "</option>\n";
}