Stop using shorthand syntax
This commit is contained in:
parent
0c745d758b
commit
206fd6ef2f
@ -1,11 +1,11 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<? require "../inc/head.inc" ?>
|
<?php require "../inc/head.inc" ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<? require "../inc/nav.inc" ?>
|
<?php require "../inc/nav.inc" ?>
|
||||||
|
|
||||||
<div id="main-and-sidebar" class="inline-block">
|
<div id="main-and-sidebar" class="inline-block">
|
||||||
|
|
||||||
@ -73,11 +73,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div><!--
|
</div><!--
|
||||||
|
|
||||||
--><? require "../inc/sidebar.inc" ?>
|
--><?php require "../inc/sidebar.inc" ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? require "../inc/background.inc" ?>
|
<?php require "../inc/background.inc" ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<? require "../inc/head.inc" ?>
|
<?php require "../inc/head.inc" ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<? require "../inc/background.inc" ?>
|
<?php require "../inc/background.inc" ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
10
inc/head.inc
10
inc/head.inc
@ -7,14 +7,14 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||||
<title>Reimar</title>
|
<title>Reimar</title>
|
||||||
<link rel="stylesheet" href="/assets/style/main.css" onload="linkOnloadSupported = true">
|
<link rel="stylesheet" href="/assets/style/main.css" onload="linkOnloadSupported = true">
|
||||||
<? if ($_COOKIE["theme"] == "dark") : ?>
|
<?php if ($_COOKIE["theme"] == "dark") : ?>
|
||||||
<link class="theme-style" rel="stylesheet" href="/assets/style/dark-mode.css">
|
<link class="theme-style" rel="stylesheet" href="/assets/style/dark-mode.css">
|
||||||
<? else : ?>
|
<?php else : ?>
|
||||||
<link class="theme-style" rel="stylesheet" href="/assets/style/light-mode.css">
|
<link class="theme-style" rel="stylesheet" href="/assets/style/light-mode.css">
|
||||||
<? endif ?>
|
<?php endif ?>
|
||||||
<? if (!$_COOKIE["theme"]) : ?>
|
<?php if (!$_COOKIE["theme"]) : ?>
|
||||||
<style>@import "/assets/style/dark-mode.css" (prefers-color-scheme: dark)</style>
|
<style>@import "/assets/style/dark-mode.css" (prefers-color-scheme: dark)</style>
|
||||||
<? endif ?>
|
<?php endif ?>
|
||||||
<!--[if lt IE 6]><style>.container { box-shadow: none !important; }</style><![endif]-->
|
<!--[if lt IE 6]><style>.container { box-shadow: none !important; }</style><![endif]-->
|
||||||
<!--[if lte IE 9]>
|
<!--[if lte IE 9]>
|
||||||
<script src="/assets/script/compatibility.js"></script>
|
<script src="/assets/script/compatibility.js"></script>
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<? require "inc/head.inc" ?>
|
<?php require "inc/head.inc" ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<? require "inc/nav.inc" ?>
|
<?php require "inc/nav.inc" ?>
|
||||||
|
|
||||||
<div id="main-and-sidebar" dir="rtl" class="inline-block">
|
<div id="main-and-sidebar" dir="rtl" class="inline-block">
|
||||||
|
|
||||||
@ -80,11 +80,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div><!--
|
</div><!--
|
||||||
|
|
||||||
--><? require "inc/sidebar.inc" ?>
|
--><?php require "inc/sidebar.inc" ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? require "inc/background.inc" ?>
|
<?php require "inc/background.inc" ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user