Sfoglia il codice sorgente

Fix jQuery paths and ensure correct theme loads

Kristan Kenney 5 anni fa
parent
commit
045a9e1b0b

+ 4 - 4
web/templates/admin/list_server_info.html

@@ -5,14 +5,14 @@
   <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
   <title><?php echo $_SERVER['HTTP_HOST']; ?> - <?=__($TAB)?> - <?=__('Hestia Control Panel');?></title>
   <link rel="stylesheet" href="/css/styles.min.css?1446554103">
-  <link rel="stylesheet" href="/css/active-theme.css?1446554103">
+  <link rel="stylesheet" href="/css/active-theme.css?<?php echo rand(); ?>">
   <link type="text/css" href="/css/animate.min.css?1446554103" rel="stylesheet" />
   <link type="text/css" href="/css/jquery-custom-dialogs.css?1446554103" rel="stylesheet" />
   <link type="text/css" href="/css/all.min.css?1446554103" rel="stylesheet" />
   <script src="/inc/jquery/jquery-3.4.1.min.js"></script>
-  <script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
-  <script type="text/javascript" src="/js/jquery.cookie.js"></script>
-  <script type="text/javascript" src="/js/jquery-ui-1.8.20.custom.min.js"></script>
+  <script type="text/javascript" src="/js/jquery/jquery-1.7.2.min.js"></script>
+  <script type="text/javascript" src="/js/jquery/jquery.cookie.js"></script>
+  <script type="text/javascript" src="/js/jquery/jquery-ui-1.8.20.custom.min.js"></script>
   <script type="text/javascript" src="/js/events.js"></script>
 </head>
 <body>

+ 1 - 1
web/templates/admin/list_weblog.html

@@ -5,7 +5,7 @@
   <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
   <title><?=__('Web Log Manager')?> - <?=__('Hestia Control Panel');?></title>
   <link rel="stylesheet" href="/css/styles.min.css?1446554103">
-  <link rel="stylesheet" href="/css/active-theme.css?1446554103">
+  <link rel="stylesheet" href="/css/active-theme.css?<?php echo rand(); ?>">
   <link type="text/css" href="/css/animate.min.css?1446554103" rel="stylesheet" />
   <link type="text/css" href="/css/jquery-custom-dialogs.css?1446554103" rel="stylesheet" />
   <link type="text/css" href="/css/all.min.css?1446554103" rel="stylesheet" />