Menü-Reihenfolge sinnvoller
bernd

bernd commited on 2009-06-19 10:14:34
Zeige 2 geänderte Dateien mit 3 Einfügungen und 3 Löschungen.


git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1400 87cf0b9e-d624-0410-a070-f6ee81989793
... ...
@@ -5,8 +5,8 @@ $role = $_SESSION['role'];
5 5
 
6 6
 if ($role & ROLE_CUSTOMER)
7 7
 {
8
-  $menu["dns_dns"] = array("label" => "DNS-Einträge", "file" => "dns", "weight" => 1, "submenu" => "domains_domains");
9
-  $menu["dns_dyndns"] = array("label" => "DynDNS", "file" => "dyndns", "weight" => 2, "submenu" => "domains_domains");
8
+  $menu["dns_dns"] = array("label" => "DNS-Einträge", "file" => "dns", "weight" => 10, "submenu" => "domains_domains");
9
+  $menu["dns_dyndns"] = array("label" => "DynDNS", "file" => "dyndns", "weight" => 11, "submenu" => "domains_domains");
10 10
 }
11 11
 
12 12
 ?>
... ...
@@ -13,7 +13,7 @@ if ($role & (ROLE_VMAIL_ACCOUNT | ROLE_MAILACCOUNT))
13 13
   $menu['email_chpass'] = array("label" => "Passwort ändern", "file" => "chpass", "weight" => 15);
14 14
 }
15 15
 if ($role & ROLE_SYSTEMUSER) {
16
-  $menu["email_domains"] = array("label" => "Mail-Verwaltung", "file" => "domains", "weight" => 2, "submenu" => "domains_domains");
16
+  $menu["email_domains"] = array("label" => "Mail-Verwaltung", "file" => "domains", "weight" => 1, "submenu" => "domains_domains");
17 17
 }
18 18
 if ($role & ROLE_SYSTEMUSER && (user_has_accounts() || ! user_has_vmail_domain() || user_has_regular_domain() ) )
19 19
 {
20 20