]> git.p6c8.net - jirafeau_mojo42.git/blob - lib/template/header.php
[FEATURE] Add meta viewport
[jirafeau_mojo42.git] / lib / template / header.php
1 <?php
2 header('Content-Type: text/html; charset=utf-8');
3 header('x-ua-compatible: ie=edge');
4 ?>
5 <!DOCTYPE html>
6 <html>
7 <head>
8 <meta charset="utf-8">
9 <title><?php echo (true === empty($cfg['title']))? t('JI_WEB_RE') : $cfg['title']; ?></title>
10 <meta name="viewport" content="width=device-width, initial-scale=1">
11 <link id="shortcut_icon" rel="shortcut icon" href="<?php echo 'media/' . $cfg['style'] . '/favicon.ico'; ?>">
12 <link id="stylesheet" rel="stylesheet" href="<?php echo 'media/' . $cfg['style'] . '/style.css.php'; ?>" type="text/css" />
13 </head>
14 <body>
15 <script type="text/javascript" src="<?php echo 'lib/functions.js.php'; ?>"></script>
16 <script type="text/javascript" lang="Javascript">color_scheme_preferences();</script>
17 <div id="content">
18 <h1>
19 <a href="./">
20 <?php echo (true === empty($cfg['title']))? t('JI_WEB_RE') : $cfg['title']; ?>
21 </a>
22 </h1>

patrick-canterino.de