This commit is contained in:
andryyy
2019-10-25 08:34:05 +02:00
8 changed files with 30 additions and 30 deletions

View File

@@ -1,10 +1,7 @@
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/modals/footer.php';
logger();
?>
<div style="margin-bottom: 100px;"></div>
<?php
$hash = $js_minifier->getDataHash();
$JSPath = '/tmp/' . $hash . '.js';
if(!file_exists($JSPath)) {
@@ -165,7 +162,7 @@ $(document).ready(function() {
});
// Reload after session timeout
var session_lifetime = <?=(intval($SESSION_LIFETIME) * 1000) + 15000;?>;
var session_lifetime = <?=((int)$SESSION_LIFETIME * 1000) + 15000;?>;
<?php
if (isset($_SESSION['mailcow_cc_username'])):
?>
@@ -183,16 +180,16 @@ $(document).ready(function() {
}
});
</script>
<?php
if (!empty($UI_TEXTS['ui_footer'])):
?>
<div class="container" style="margin-bottom:20px;color:#959595;">
<hr>
<?=$UI_TEXTS['ui_footer'];?>
<div class="container footer">
<?php
if (!empty($UI_TEXTS['ui_footer'])):
?>
<hr><?=$UI_TEXTS['ui_footer'];?>
<?php
endif;
?>
</div>
<?php
endif;
?>
</body>
</html>
<?php