]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - users/index.php
Merge pull request #50 from TehPeGaSuS/patch-2
[irc/unrealircd/unrealircd-webpanel.git] / users / index.php
index e9572de940b81a599eb0ae888bbec636301893cb..40c813057993c92c8c8099260a62fd3348c64bd7 100644 (file)
@@ -14,7 +14,7 @@ if (!empty($_GET))
                $_POST['servicesonly'] = $_GET['servicesonly'];
 }
 
-if (!empty($_POST))
+if (!empty($_POST) && current_user_can(PERMISSION_BAN_USERS))
 {
        require_once "../inc/connection.php";
        do_log($_POST);
@@ -89,7 +89,7 @@ Click on a username to view more information.
 
        <!-- The user list -->
        <table id="data_list" class="table-striped display responsive nowrap" style="width:100%">
-       <thead>
+       <thead class="table-primary">
                <th scope="col"><input type="checkbox" label='selectall' onClick="toggle_user(this)" /></th>
                <th scope="col">Nick</th>
                <th class="countrycol" scope="col">Country</th>