$module"); DEBUG($menu); // $menu["foo"]["file"] enthält den Link foreach (array_keys($menu) as $key) { $menu[$key]["file"] = $prefix."go/".$module."/".$menu[$key]["file"]; $weight = $menu[$key]["weight"]; if (array_key_exists($weight, $weighted_menuitem)) $weighted_menuitem[$weight] = array_merge($weighted_menuitem[$weight], array($key => $menu[$key])); else $weighted_menuitem[$weight] = array($key => $menu[$key]); } $menuitem = array_merge($menuitem, $menu); } ksort($weighted_menuitem); DEBUG(print_r($weighted_menuitem, true)); /* $menuitem["index"]["label"] = "Übersicht"; $menuitem["index"]["file"] = "index.php"; $menuitem["domains"]["label"] = "Domains"; $menuitem["domains"]["file"] = "domains.php"; $menuitem["mail"]["label"] = "E-Mail"; $menuitem["mail"]["file"] = "mail.php"; $menuitem["chpass"]["label"] = "Passwort ändern"; $menuitem["chpass"]["file"] = "chpass.php"; $menuitem["logout"]["label"] = "Abmelden"; $menuitem["logout"]["file"] = "logout.php"; */ ?> '."\n"; ?> Administration - '.$title.''; else echo 'Administration'; echo ' ' ?>