Correct indentation in index.php

This commit is contained in:
Markus Koch 2018-05-30 15:06:34 +02:00
parent a60988f468
commit 8813f4ff66

View File

@ -48,16 +48,16 @@
ob_start(function($output) { ob_start(function($output) {
global $pageTitle; global $pageTitle;
global $htmlHead; global $htmlHead;
$output = '<!DOCTYPE html> $output = '<!DOCTYPE html>
<html> <html>
<head> <head>
<title>' . $pageTitle . ($pageTitle == "" ? "" : " - ") . PAGE_NAME . '</title> <title>' . $pageTitle . ($pageTitle == "" ? "" : " - ") . PAGE_NAME . '</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=700px, initial-scale=.5"><!-- or width=device-width --> <meta name="viewport" content="width=700px, initial-scale=.5"><!-- or width=device-width -->
' . $htmlHead . ' ' . $htmlHead . '
<link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
<link rel="stylesheet" type="text/css" href="userstyle.css" /> <link rel="stylesheet" type="text/css" href="/userstyle.css" />
</head>' . $output; </head>' . $output;
return $output; return $output;
}); });
?> ?>
@ -67,13 +67,13 @@
This page has been generated by [Simpub CMS] which is open source software. This page has been generated by [Simpub CMS] which is open source software.
You can find it here: https://git.notsyncing.net:8080/web/simpub You can find it here: https://git.notsyncing.net:8080/web/simpub
--> -->
<body> <body>
<nav> <nav>
<div id="navContainer"> <div id="navContainer">
<ul class="pagetitle"><li <?php echo $homesel; ?> style="float: left;"><a class="pagetitle" href="/"><?php echo PAGE_NAME; ?></a></li></ul> <ul class="pagetitle"><li <?php echo $homesel; ?> style="float: left;"><a class="pagetitle" href="/"><?php echo PAGE_NAME; ?></a></li></ul>
<ul> <ul>
<?php mkMenu(); ?> <?php mkMenu(); ?>
<?php if (RSS_ENABLED) { ?> <?php if (RSS_ENABLED) { ?>
<li style="float: right; margin: 10px;"> <li style="float: right; margin: 10px;">
<a href="/rss.php" title="RSS Feed" style="margin: 0px; padding: 0px; border: none;"><img src="/img/rss.svg" style="width:32px; height:32px;"></a> <a href="/rss.php" title="RSS Feed" style="margin: 0px; padding: 0px; border: none;"><img src="/img/rss.svg" style="width:32px; height:32px;"></a>
</li> </li>
@ -81,7 +81,7 @@
</ul> </ul>
</div> </div>
</nav> </nav>
<div id="contentContainer"> <div id="contentContainer">
<content> <content>
<div id="content"> <div id="content">
<?php <?php
@ -92,8 +92,8 @@
<div id="footer"> <div id="footer">
Copyright <?php echo PAGE_AUTHOR; ?><!-- and <a href="/?p=extcontent">others</a>--> | <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/us/"><img style="position:relative;top:4px;opacity:0.75;" src="/img/cc-byncsa.png"></a> | <?php echo date("Y"); ?> Copyright <?php echo PAGE_AUTHOR; ?><!-- and <a href="/?p=extcontent">others</a>--> | <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/us/"><img style="position:relative;top:4px;opacity:0.75;" src="/img/cc-byncsa.png"></a> | <?php echo date("Y"); ?>
</div> </div>
</div> </div>
</body> </body>
</html> </html>
<?php <?php