]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - common.php
include qlines and elines in our overview list
[irc/unrealircd/unrealircd-webpanel.git] / common.php
index 7c70fc776086fe9b72c9fbaa9d9dbf987d950114..e6df7da64a12ff3a502ebf2950539e53c330c27a 100644 (file)
@@ -14,11 +14,20 @@ require_once "Classes/class-message.php";
 require_once "Classes/class-rpc.php";
 require_once "plugins.php";
 
-$pages = Array("Overview"      => "index.php",
-                          "Users"              => "users/index.php",
-                          "Channels"   => "channels.php",
-                          "Server Bans"        => "tkl.php",
+function show_nick_only($str)
+{
+       $x = strpos($str, "!");
+       if ($x !== false)
+               $str = substr($str, 0, $x);
+       return $str;
+}
+
+$pages = Array("Overview"      => "",
+                          "Users"              => "users",
+                          "Channels"   => "channels",
+                          "Server Bans"        => "server_bans.php",
                           "Spamfilter" => "spamfilter.php",
+                          "Network" => "network",
                           "News"               => "news.php");