X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/d6f10d258e1ea961c6b6679d03c486388d8d6b04..ea90b321a4b3768028d841b307c362af97a5e6e1:/header.php
diff --git a/header.php b/header.php
index 8e3f878..97100c4 100644
--- a/header.php
+++ b/header.php
@@ -2,17 +2,17 @@
if (is_auth_provided() && !str_ends_with($_SERVER['SCRIPT_FILENAME'], "setup.php"))
{?>
UnrealIRCd Panel
-
+img/favicon.ico">
-
-
-
-
-
+
+
+
+
@@ -75,28 +73,44 @@ $arr = []; Hook::run(HOOKTYPE_PRE_HEADER, $arr); ?>
";
- foreach ($page as $subname=>$subpage)
- show_page_item($subname, $subpage, 1);
+ echo "";
+ else
+ echo "";
+ if (is_array($page))
+ {
+ foreach ($page as $subname=>$subpage)
+ show_page_item($subname, $subpage, 1);
+ }
}
foreach($pages as $name=>$page)
show_page_item($name, $page, 0);
@@ -108,7 +122,7 @@ foreach($pages as $name=>$page)