summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-31 04:44:56 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-31 04:44:56 +0000
commit2148ecc8ac957beb53ac1be3b6d7aafba491b7aa (patch)
treee06011661938f27fce3b78f223dc4ea2e4aaa8bc /lib
parenta93cc6b8ebb2d1bcd67aa91f670905f298d6d98e (diff)
downloadampache-2148ecc8ac957beb53ac1be3b6d7aafba491b7aa.tar.gz
ampache-2148ecc8ac957beb53ac1be3b6d7aafba491b7aa.tar.bz2
ampache-2148ecc8ac957beb53ac1be3b6d7aafba491b7aa.zip
added a browse by all, noticed a bug with browsing _very_ large lists causes it to pop know how to fix it, but I will do that tomorrow
Diffstat (limited to 'lib')
-rw-r--r--lib/class/browse.class.php1
-rw-r--r--lib/ui.lib.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php
index a5ea13b2..a652dd71 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -68,6 +68,7 @@ class Browse {
}
break;
case 'alpha_match':
+ if ($value == _('All')) { $value = ''; }
$_SESSION['browse']['filter'][$key] = $value;
break;
default:
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index ff863c78..5c0ec15a 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -126,7 +126,7 @@ function return_referer() {
*/
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");
+ $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'));
$style_name = "style_" . strtolower($selected);
${$style_name} = "style=\"font-weight:bold;\"";