Stop using shorthand syntax

This commit is contained in:
ReimarPB 2023-05-20 17:51:43 +02:00
parent 0c745d758b
commit 206fd6ef2f
4 changed files with 16 additions and 16 deletions

View File

@ -1,11 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<? require "../inc/head.inc" ?>
<?php require "../inc/head.inc" ?>
</head>
<body>
<? require "../inc/nav.inc" ?>
<?php require "../inc/nav.inc" ?>
<div id="main-and-sidebar" class="inline-block">
@ -73,11 +73,11 @@
</div>
</div><!--
--><? require "../inc/sidebar.inc" ?>
--><?php require "../inc/sidebar.inc" ?>
</div>
<? require "../inc/background.inc" ?>
<?php require "../inc/background.inc" ?>
</body>
</html>

View File

@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<? require "../inc/head.inc" ?>
<?php require "../inc/head.inc" ?>
</head>
<body>
<? require "../inc/background.inc" ?>
<?php require "../inc/background.inc" ?>
</body>
</html>
</html>

View File

@ -7,14 +7,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>Reimar</title>
<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">
<? else : ?>
<?php else : ?>
<link class="theme-style" rel="stylesheet" href="/assets/style/light-mode.css">
<? endif ?>
<? if (!$_COOKIE["theme"]) : ?>
<?php endif ?>
<?php if (!$_COOKIE["theme"]) : ?>
<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 lte IE 9]>
<script src="/assets/script/compatibility.js"></script>

View File

@ -4,11 +4,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<? require "inc/head.inc" ?>
<?php require "inc/head.inc" ?>
</head>
<body>
<? require "inc/nav.inc" ?>
<?php require "inc/nav.inc" ?>
<div id="main-and-sidebar" dir="rtl" class="inline-block">
@ -80,11 +80,11 @@
</div>
</div><!--
--><? require "inc/sidebar.inc" ?>
--><?php require "inc/sidebar.inc" ?>
</div>
<? require "inc/background.inc" ?>
<?php require "inc/background.inc" ?>
</body>
</html>