Login button is back...

This commit is contained in:
andryyy
2017-03-21 14:45:49 +01:00
parent 4518f6f896
commit 14b17e85e4
2 changed files with 20 additions and 2 deletions

View File

@@ -108,6 +108,8 @@ table.footable>tbody>tr.footable-empty>td {
<?php
$lang_mailbox = json_encode($lang['mailbox']);
echo "var lang = ". $lang_mailbox . ";\n";
$role = ($_SESSION['mailcow_cc_role'] == "admin") ? 'admin' : 'domainadmin';
echo "var role = '". $role . "';\n";
?>
</script>
<script src="js/footable.min.js"></script>