]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Fix post paths for new files
authorValerie Pond <redacted>
Mon, 9 Jan 2023 02:39:10 +0000 (02:39 +0000)
committerValerie Pond <redacted>
Mon, 9 Jan 2023 02:39:10 +0000 (02:39 +0000)
common.php
header.php
spamfilter.php
tkl.php
users.php

index af0cfa7ff236c210507a924f1b1bdefdbcd67671..e51095b0c109a8507bc44313de5611383df9b6c5 100644 (file)
@@ -9,7 +9,7 @@ require_once "Classes/class-log.php";
 require_once "Classes/class-message.php";
 require_once "Classes/class-rpc.php";
 
-$pages = Array("Overview"      => "overview.php",
+$pages = Array("Overview"      => "index.php",
                "Users"         => "users.php",
                "Channels"      => "channels.php",
                "Server Bans"   => "tkl.php",
index cb6f6e1d9a31442f20821e7755cd1512aedde173..d6813bf4683eb341ac1bf09b849574236c74d66c 100644 (file)
@@ -4,7 +4,7 @@
 <link href="css/unrealircd-admin.css" rel="stylesheet">
 <body class="body-for-sticky">
 <div id="headerContainer">
-<h2><a href="">UnrealIRCd <small>Administration Panel</small></a></h2></div>
+<h2><a href="index.php">UnrealIRCd <small>Administration Panel</small></a></h2></div>
 <script src="js/unrealircd-admin.js" defer></script>
 <div class="topnav">
     
index 5029402bc3fab02c766b7d309ecee85f8da54146..2b21e32dcfa3cf70a850ce827fbaead14b7af031 100644 (file)
@@ -206,7 +206,7 @@ $tkl = $rpc->serverban()->getAll();
                </form>
        </div>
        <table class='users_overview'>
-       <form action="" method="post">
+       <form action="spamfilter.php" method="post">
        <th><input type="checkbox" label='selectall' onClick="toggle_sf(this)" />Select all</th>
        <th>Mask</th>
        <th>Type</th>
diff --git a/tkl.php b/tkl.php
index 8227e91c4023194e9cc996790b4b7f7cf5dd5c05..a9d0c73f557badd4bb0cc6a0b8c031cae3f762fa 100644 (file)
--- a/tkl.php
+++ b/tkl.php
@@ -150,7 +150,7 @@ $tkl = $rpc->serverban()->getAll();
                </form>
        </div>
        <table class='users_overview'>
-       <form action="" method="post">
+       <form action="tkl.php" method="post">
        <th><input type="checkbox" label='selectall' onClick="toggle_tkl(this)" />Select all</th>
        <th>Mask</th>
        <th>Type</th>
index dbefa3d5e27e50a23e6c71c1a11fd1edced037e8..9bbb0a2b48a4617d7813bd7a5705d922b8fb73d0 100644 (file)
--- a/users.php
+++ b/users.php
@@ -113,7 +113,7 @@ $users = $rpc->user()->getAll();
        <th>Connected to</th>
        <th>Reputation <a href="https://www.unrealircd.org/docs/Reputation_score" target="_blank">ℹ️</a></th>
        
-       <form action="" method="post">
+       <form action="users.php" method="post">
        <?php
                foreach($users as $user)
                {