]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - users.php
Add helpful error message if admin forgot to run 'composer install'
[irc/unrealircd/unrealircd-webpanel.git] / users.php
index ac38ddcfa2431abced14964019d39e754efa37b2..9bbb0a2b48a4617d7813bd7a5705d922b8fb73d0 100644 (file)
--- a/users.php
+++ b/users.php
@@ -6,7 +6,7 @@ require_once "header.php";
 if (!empty($_POST))
 {
        do_log($_POST);
-
+       $bantype = $_POST['bantype'];
        if (isset($_POST['userch']))
        {
                foreach ($_POST["userch"] as $user)
@@ -58,11 +58,11 @@ if (!empty($_POST))
 $users = $rpc->user()->getAll();
 ?>
 
-       <div id="Users" data-tab-content>
+<div id="Users">
        <table class='users_filter'>
        <th class="thuf">Filter by: </th>
        <th>
-               <form action="" method="post">
+               <form action="users.php" method="post">
                        Nick: <input name="uf_nick" id="uf_nick" type="text">
                        <input class="cute_button2" type="submit" value="Search">
                </form>
@@ -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)
                {
@@ -219,6 +219,7 @@ $users = $rpc->user()->getAll();
        <input class="cute_button" type="submit" value="Apply">
        </form>
        
-       </div></div>
+       </div
+</div>
 
 <?php require_once 'footer.php'; ?>