summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-28 04:34:02 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-28 04:34:02 +0000
commit79ca59df627660d635a9373bfeb293592c173793 (patch)
treedee673409ee084f47f2121ff049f2bdd859fb057 /lib/ui.lib.php
parent705fba8f49faa42ed7f004f67b74a996c29ddb3d (diff)
downloadampache-79ca59df627660d635a9373bfeb293592c173793.tar.gz
ampache-79ca59df627660d635a9373bfeb293592c173793.tar.bz2
ampache-79ca59df627660d635a9373bfeb293592c173793.zip
fixed some localplay issues, now correctly shows the active instance at least for the MPD module
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index d0ae5bcb..859f90f3 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -130,11 +130,8 @@ function show_alphabet_list () {
$list = array(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,1,2,3,4,5,6,7,8,9,"0",_('All'));
- $selected = $_SESSION['browse']['filter']['alpha_match'];
+ $selected = $_SESSION['browse']['filter']['alpha_match'];
- //$style_name = "style_" . strtolower($selected);
- //${$style_name} = "style=\"font-weight:bold;\"";
-
echo "<div class=\"alphabet\">";
foreach ($list as $l) {
$style_name = "style_" . strtolower($l);
@@ -142,10 +139,6 @@ function show_alphabet_list () {
if ($l==$selected) $class .=" active";
echo "<span class=\"" . $class . "\" onclick=\"ajaxPut('". Config::get('ajax_url') ."?action=browse&amp;key=alpha_match&amp;value=$l');return true;\">" .
$l . "</span>\n";
- /* without this, it also works and breaks line when needed only
- $i++;
- if ($i/5 == intval($i/5)) { echo "<br />"; }
- */
}
echo "</div>";