]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - channels/details.php
Move some PHP files from ./ to ./inc: common, connection, header, footer
[irc/unrealircd/unrealircd-webpanel.git] / channels / details.php
index ff118b17aa3a3833475fc82256c68101c572fc84..8cf6543914963545af6222f5a96ac72ce82f86ac 100644 (file)
@@ -1,7 +1,7 @@
 <?php
-require_once "../common.php";
-require_once "../connection.php";
-require_once "../header.php";
+require_once "../inc/common.php";
+require_once "../inc/connection.php";
+require_once "../inc/header.php";
 
 if ($uplink = $rpc->server()->get())
        IRCList::setmodes($uplink->server->features->chanmodes);
@@ -208,7 +208,6 @@ if (!empty($_POST))
 ?>
 <title><?php echo $title; ?></title>
 <h6><?php echo $title; ?></h6>
-<br>
 
 
 <form method="get" action="details.php">
@@ -255,7 +254,7 @@ if (!empty($_POST))
                                </label>
                        </div>
                        <div class="input-group mb-3">
-                               <label for="bantype_sel_type">Ban Type
+                               <label for="bantype_sel_type">Ban Type <small>Leave this blank for a "normal" ban</small>
                                        <select class="form-control" name="bantype_sel_type" id="bantype_sel_type">
                                                <option></option>
                                                <option>Match Account</option>
@@ -401,11 +400,7 @@ if (!empty($_POST))
                </div>
                <div class="modal-body">
                        <form method="post">
-                       
                        <?php generate_edit_chmodes($channelObj); ?>
-
-               </div>
-               <div class="modal-footer">
                        <input type="hidden" id="server" name="add_chex" value="e"></input>
                        <button id="CloseButton" type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
                        <button type="submit" action="post" class="btn btn-danger">Update</button>
@@ -563,5 +558,5 @@ if ($topicset)
 $('.nav-tabs a[href="#chanmodes"]').tab('show')
 </script>
 <?php 
-require_once("../footer.php");
+require_once("../inc/footer.php");