[Web] Further improvments, minor fixes

master
andryyy 2019-01-31 17:07:24 +01:00
parent 2c0e5f9347
commit d7f169cc2f
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
5 changed files with 4 additions and 2 deletions

View File

@ -1,12 +1,15 @@
@font-face {font-family: 'PT Sans';
font-display: auto;
src: local('PT Sans'), url('/fonts/PTS55F_W.woff') format('woff');
}
@font-face {font-family: 'PT Sans';
font-style: italic;
font-display: auto;
src: local('PT Sans Italic'), url('/fonts/PTS56F_W.woff') format('woff');
}
@font-face {font-family: 'PT Sans';
font-style: normal;
font-display: auto;
font-weight: bold;
src: local('PT Sans Bold'), url('/fonts/PTS75F_W.woff') format('woff');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -438,7 +438,7 @@ function quarantine($_action, $_data = null) {
$settings['sender'] = $redis->Get('Q_SENDER');
$settings['html'] = htmlspecialchars($redis->Get('Q_HTML'));
if (empty($settings['html'])) {
$settings['html'] = htmlspecialchars(file_get_contents("/templates/quarantine.tpl"));
$settings['html'] = htmlspecialchars(file_get_contents("/tpls/quarantine.tpl"));
}
}
catch (RedisException $e) {

View File

@ -11,7 +11,6 @@
<script src="/js/html5shiv.min.js"></script>
<script src="/js/respond.min.js"></script>
<![endif]-->
<script type='text/javascript' src="/js/jquery-1.12.4.min.js"></script>
<?php if (strtolower(trim($DEFAULT_THEME)) != "lumen"): ?>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/<?= strtolower(trim($DEFAULT_THEME)); ?>/bootstrap.min.css">
<?php endif;