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

root at intevation.de root at intevation.de
Wed Jun 18 21:02:37 CEST 2003


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

Modified Files:
	index.php 
Log Message:
Fixed the 1|2|3 selection on top


Index: index.php
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/admin/user/index.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- index.php	18 Jun 2003 18:51:31 -0000	1.14
+++ index.php	18 Jun 2003 19:02:35 -0000	1.15
@@ -137,18 +137,14 @@
 if ($pages > 1) {
   for ($i = 1; $i < $pages; $i++) {
     // the actual page won't be clickable
-    if ($page != $i){
-      printf(" <a href=\"index.php?alphaselect=%s&page=%s\">%s</a> |\n", $alphaselect, $i, $i);
-    } else {
-      printf(" %s |\n", $i);
-    }
-    // last item w/o vertical dash
     if ($page != $i)
-      printf(" <a href=\"index.php?alphaselect=%s&page=%s\">%s</a> \n", $alphaselect, $i, $i);
-    else
-      printf(" %s ", $i);
+      printf(" <a href=\"index.php?alphaselect=%s&page=%s\">%s</a> |\n", $alphaselect, $i, $i);
+    else printf(" %s |\n", $i);
   }
-  print("</div>");
+  // last item w/o vertical dash
+  if ($page != $i)
+    printf(" <a href=\"index.php?alphaselect=%s&page=%s\">%s</a> \n", $alphaselect, $i, $i);
+  else printf(" %s ", $i);
 }
 
 if ($result) {





More information about the devel mailing list