]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - users/index.php
Users: code cleanup: remove old filtering code, not needed anymore.
[irc/unrealircd/unrealircd-webpanel.git] / users / index.php
index 0159ca03ddff57939bdc7176dbbdd75530eb938a..e9572de940b81a599eb0ae888bbec636301893cb 100644 (file)
@@ -85,38 +85,16 @@ if (!empty($_POST))
 Click on a username to view more information.
 
 <div class="usertable">
-       
-       <?php
-
-       if (isset($_POST['uf_nick']) && strlen($_POST['uf_nick']))
-               Message::Info("Listing users which match nick: \"" . $_POST['uf_nick'] . "\"");
-
-       if (isset($_POST['uf_ip']) && strlen($_POST['uf_ip']))
-               Message::Info("Listing users which match IP: \"" . $_POST['uf_ip'] . "\"");
-
-       if (isset($_POST['uf_host']) && strlen($_POST['uf_host']))
-               Message::Info("Listing users which match hostmask: \"" . $_POST['uf_host'] . "\"");
-
-       if (isset($_POST['uf_account']) && strlen($_POST['uf_account']))
-               Message::Info("Listing users which match account: \"" . $_POST['uf_account'] . "\"");
-
-       if (isset($_POST['uf_server']) && strlen($_POST['uf_server']))
-               Message::Info("Listing users connected to servers matching: \"" . $_POST['uf_server'] . "\"");
-
-
-       ?>
+       <form method="post">
 
        <!-- The user list -->
-       <!-- table id="data_list" class="container-xxl table table-sm table-responsive caption-top table-striped" -->
-       <!-- <table id="data_list" class="table table-striped table-bordered dt-responsive nowrap" style="width:400px"> -->
-       <table id="data_list" class="display responsive nowrap" style="width:100%">
+       <table id="data_list" class="table-striped display responsive nowrap" style="width:100%">
        <thead>
                <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>
                <th class="hostname" scope="col">Host / IP</th>
                <th class="accountcol" scope="col"><span data-toggle="tooltip" data-placement="bottom" title="The services account name, if the user identified to services." style="border-bottom: 1px dotted #000000">Account</span></th>
-               <th class="umodescol" scope="col">Usermodes <a href="https://www.unrealircd.org/docs/User_modes" target="_blank">ℹ️</a></th>
                <th class="opercol" scope="col">Oper</th>
                <th class="uplinkcol" scope="col">Connected to</th>
                <th class="reputationcol" scope="col"><span id="reputationheader" data-toggle="tooltip" data-placement="bottom" title="The reputation score gets higher when someone with this IP address has been connected in the past weeks. A low reputation score (like <10) is an indication of a new IP." style="border-bottom: 1px dotted #000000">Rep.</span> <a href="https://www.unrealircd.org/docs/Reputation_score" target="_blank">ℹ️</a></th>
@@ -297,7 +275,6 @@ $(document).ready( function () {
                        { 'data': 'Country', 'className':'countrycol', 'responsivePriority': 2 },
                        { 'data': 'Host/IP', 'className':'hostname', 'responsivePriority': 5 },
                        { 'data': 'Account', 'className':'accountcol', 'responsivePriority': 3 },
-                       { 'data': 'Usermodes', 'className':'umodescol', 'responsivePriority': 7 },
                        { 'data': 'Oper', 'className':'opercol', 'responsivePriority': 8 },
                        { 'data': 'Connected to', 'className':'uplinkcol', 'responsivePriority': 6 },
                        { 'data': 'Reputation', 'className':'reputationcol', 'responsivePriority': 4 },
@@ -309,7 +286,7 @@ $(document).ready( function () {
                args['dom'] = 'Pfrtip';
                args['searchPanes'] = {
                        'initCollapsed': 'true',
-                       'columns': [2,8],
+                       'columns': [2,6],
                        'dtOpts': {
                                select: { style: 'multi'},
                                order: [[ 1, "desc" ]]