Browse code

Menü-Einträge nicht gleich gewichten

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1809 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on12/09/2010 07:22:40
Showing1 changed files
... ...
@@ -4,10 +4,10 @@ $role = $_SESSION['role'];
4 4
 
5 5
 if ($role == ROLE_ANONYMOUS) {
6 6
   $menu["index_login"] = array("label" => "Login", "file" => "index", "weight" => 0);
7
-  $menu["certlogin"] = array("label" => "Client-Zertifikat", "file" => "certinfo", "weight" => 0);
7
+  $menu["certlogin"] = array("label" => "Client-Zertifikat", "file" => "certinfo", "weight" => 10);
8 8
 } else {
9 9
   if ($role & ROLE_SYSTEMUSER)
10
-    $menu["index_cert"] = array("label" => "Client-Zertifikat", "file" => "cert", "weight" => 0, "submenu" => "index_index");
10
+    $menu["index_cert"] = array("label" => "Client-Zertifikat", "file" => "cert", "weight" => 10, "submenu" => "index_index");
11 11
   if ($role & (ROLE_SYSTEMUSER | ROLE_CUSTOMER)) {
12 12
     $menu["index_chpass"] = array("label" => "Passwort ändern", "file" => "chpass", "weight" => 98);
13 13
   }