summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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;\"";