Add ability to set tag handling, show more user information

This commit is contained in:
andryyy
2017-01-09 11:08:45 +01:00
parent 49a98a30b5
commit d2945b0edf
8 changed files with 224 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
<?php
if ($_SESSION['mailcow_cc_role'] == "admin"):
if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == "admin"):
?>
<div id="RestartSOGo" class="modal fade" role="dialog">
<div class="modal-dialog">
@@ -75,8 +75,8 @@ $(document).ready(function() {
});
// IE fix to hide scrollbars when table body is empty
$('tbody').filter(function (index) {
return $(this).children().length < 1;
$('tbody').filter(function (index) {
return $(this).children().length < 1;
}).remove();
// Init Bootstrap Selectpicker