[Kolab-devel] server/kolab/kolab/admin/user index.php,1.13,1.14 by tassilo at doto.intevation.de

root at intevation.de root at intevation.de
Wed Jun 18 20:51:33 CEST 2003


Update of /kolabrepository/server/kolab/kolab/admin/user
In directory doto:/tmp/cvs-serv30609

Modified Files:
	index.php 
Log Message:
Fix some errors from the merginf session


Index: index.php
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/admin/user/index.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- index.php	14 Jun 2003 17:06:31 -0000	1.13
+++ index.php	18 Jun 2003 18:51:31 -0000	1.14
@@ -99,8 +99,7 @@
                          case "[A-F]":
                            $filter = "(&(cn=*)(objectclass=inetOrgPerson)(uid=*)(mail=*)(|(sn=F*)(sn=E*)(sn=D*)(sn=C*)(sn=B*)(sn=A*)";
                            $filter = $filter."(sn=f*)(sn=e*)(sn=d*)(sn=c*)(sn=b*)(sn=a*)";
-                           if (in_array('sn', $utf8)) $filter = $filter."(sn=".utf8_encode("Ä")."*)(sn=".utf8_enc
-ode("ä")."*)";
+                           if (in_array('sn', $utf8)) $filter = $filter."(sn=".utf8_encode("Ä")."*)(sn=".utf8_encode("ä")."*)";
                            $filter = $filter."))";
                            break;
                          case "[G-L]":
@@ -110,8 +109,7 @@
                          case "[M-S]":
                            $filter = "(&(cn=*)(objectclass=inetOrgPerson)(uid=*)(mail=*)(|(sn=M*)(sn=N*)(sn=O*)(sn=P*)(sn=Q*)(sn=R*)(sn=S*)";
                            $filter = $filter."(sn=m*)(sn=n*)(sn=o*)(sn=p*)(sn=q*)(sn=r*)(sn=s*)";
-                           if (in_array('sn', $utf8)) $filter = $filter."(sn=".utf8_encode("Ö")."*)(sn=".utf8_enc
-ode("ö")."*)"."(sn=".utf8_encode("Ü")."*)(sn=".utf8_encode("ü")."*)";
+                           if (in_array('sn', $utf8)) $filter = $filter."(sn=".utf8_encode("Ö")."*)(sn=".utf8_encode("ö")."*)"."(sn=".utf8_encode("Ü")."*)(sn=".utf8_encode("ü")."*)";
                            $filter = $filter."))";
                            break;
                          case "[T-Z]":
@@ -139,9 +137,9 @@
 if ($pages > 1) {
   for ($i = 1; $i < $pages; $i++) {
     // the actual page won't be clickable
-    if ($page != $i)
+    if ($page != $i){
       printf(" <a href=\"index.php?alphaselect=%s&page=%s\">%s</a> |\n", $alphaselect, $i, $i);
-    else
+    } else {
       printf(" %s |\n", $i);
     }
     // last item w/o vertical dash





More information about the devel mailing list