Skip to content

Commit 860059e

Browse files
author
Kristan Kenney
committed
Merge branch 'fix/ui-headers' into main
2 parents 8dd441e + ab3a51b commit 860059e

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

web/templates/admin/list_server_info.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@
44
<meta charset="utf-8">
55
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
66
<title><?php echo $_SERVER['HTTP_HOST']; ?> - <?=_($TAB)?> - <?=_('Hestia Control Panel');?></title>
7-
<link rel="stylesheet" href="/css/styles.min.css?1446554105">
8-
<link rel="stylesheet" href="/css/active-theme.css?<?php echo rand(); ?>">
9-
<link type="text/css" href="/css/animate.min.css?1446554103" rel="stylesheet" />
10-
<link type="text/css" href="/css/jquery-custom-dialogs.css?1446554103" rel="stylesheet" />
11-
<link type="text/css" href="/css/all.min.css?1446554103" rel="stylesheet" />
7+
<!-- Load base theme-->
8+
<link type="text/css" rel="stylesheet" href="/css/themes/default.min.css?<?=JS_LATEST_UPDATE?>" />
9+
<? if ($_SESSION['THEME'] !== 'default') {?>
10+
<!-- Load provided theme -->
11+
<link type="text/css" rel="stylesheet" href="/css/themes/<?php echo $_SESSION['THEME']; ?>.min.css?<?php echo rand(); ?>" />
12+
<!-- Load custom theme -->
13+
<link type="text/css" rel="stylesheet" href="/css/themes/custom/<?php echo $_SESSION['THEME']; ?>.css?<?php echo rand(); ?>" />
14+
<? } ?>
15+
<link type="text/css" href="/css/dependencies/animate.min.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
16+
<link type="text/css" href="/css/dependencies/jquery-custom-dialogs.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
17+
<link type="text/css" href="/css/dependencies/fontawesome.min.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
1218
<script src="/inc/jquery/jquery-3.4.1.min.js"></script>
1319
<script type="text/javascript" src="/js/jquery/jquery-1.7.2.min.js"></script>
1420
<script type="text/javascript" src="/js/jquery/jquery.cookie.js"></script>

web/templates/admin/list_weblog.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@
44
<meta charset="utf-8">
55
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
66
<title><?=_('Web Log Manager')?> - <?=_('Hestia Control Panel');?></title>
7-
<link rel="stylesheet" href="/css/styles.min.css?1446554105">
8-
<link rel="stylesheet" href="/css/active-theme.css?<?php echo rand(); ?>">
9-
<link type="text/css" href="/css/animate.min.css?1446554103" rel="stylesheet" />
10-
<link type="text/css" href="/css/jquery-custom-dialogs.css?1446554103" rel="stylesheet" />
11-
<link type="text/css" href="/css/all.min.css?1446554103" rel="stylesheet" />
7+
<!-- Load base theme-->
8+
<link type="text/css" rel="stylesheet" href="/css/themes/default.min.css?<?=JS_LATEST_UPDATE?>" />
9+
<? if ($_SESSION['THEME'] !== 'default') {?>
10+
<!-- Load provided theme -->
11+
<link type="text/css" rel="stylesheet" href="/css/themes/<?php echo $_SESSION['THEME']; ?>.min.css?<?php echo rand(); ?>" />
12+
<!-- Load custom theme -->
13+
<link type="text/css" rel="stylesheet" href="/css/themes/custom/<?php echo $_SESSION['THEME']; ?>.css?<?php echo rand(); ?>" />
14+
<? } ?>
15+
<link type="text/css" href="/css/dependencies/animate.min.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
16+
<link type="text/css" href="/css/dependencies/jquery-custom-dialogs.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
17+
<link type="text/css" href="/css/dependencies/fontawesome.min.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
1218
<script src="/inc/jquery/jquery-3.4.1.min.js"></script>
1319
<script type="text/javascript" src="/js/jquery/jquery-1.7.2.min.js"></script>
1420
<script type="text/javascript" src="/js/jquery/jquery.cookie.js"></script>

0 commit comments

Comments
 (0)