$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 (isset($menu[$key]['submenu'])) { if (isset($submenu[$menu[$key]['submenu']][$weight])) $submenu[$menu[$key]['submenu']][$weight] = array_merge($submenu[$menu[$key]['submenu']][$weight], array($key => $menu[$key])); else $submenu[$menu[$key]['submenu']][$weight] = array($key => $menu[$key]); } else { 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($weighted_menuitem); foreach ($submenu AS $weight => $data) { ksort($submenu[$weight]); } DEBUG($submenu); // Verbiete das Laden in jeglichem Frameset header("X-FRAME-OPTIONS: DENY"); header("Content-Type: ".config('mime_type')); ?> '."\n"; ?>
Administration - '.$title.''; else echo '