]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/template/header.php
[FEATURE] Support light/dark mode
[jirafeau_project.git] / lib / template / header.php
index 55b3379ac05fd7fed8aa8c237239575b54cbb26e..71b8857962beea748de406f723703877b2b89fe4 100644 (file)
@@ -7,11 +7,12 @@ header('x-ua-compatible: ie=edge');
 <head>
   <meta charset="utf-8">
   <title><?php echo (true === empty($cfg['title']))? t('JI_WEB_RE') : $cfg['title']; ?></title>
-  <link rel="shortcut icon" href="<?php echo 'media/' . $cfg['style'] . '/favicon.ico'; ?>">
-  <link href="<?php echo 'media/' . $cfg['style'] . '/style.css.php'; ?>" rel="stylesheet" type="text/css" />
+  <link id="shortcut_icon" rel="shortcut icon" href="<?php echo 'media/' . $cfg['style'] . '/favicon.ico'; ?>">
+  <link id="stylesheet" rel="stylesheet" href="<?php echo 'media/' . $cfg['style'] . '/style.css.php'; ?>" type="text/css" />
 </head>
 <body>
 <script type="text/javascript" src="<?php echo 'lib/functions.js.php'; ?>"></script>
+<script type="text/javascript" lang="Javascript">color_scheme_preferences();</script>
 <div id="content">
   <h1>
     <a href="./">

patrick-canterino.de