Updated doctype to HTML5 and fixed a bunch of unquoted elements
This commit is contained in:
@@ -34,7 +34,7 @@ function printHeader($withmenu="default") {
|
|||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<html>
|
<!DOCTYPE html>
|
||||||
<head>
|
<head>
|
||||||
<title>PHPki: <?php echo $title?> </title>
|
<title>PHPki: <?php echo $title?> </title>
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo $style_css?>">
|
<link rel="stylesheet" type="text/css" href="<?php echo $style_css?>">
|
||||||
@@ -65,9 +65,9 @@ function printHeader($withmenu="default") {
|
|||||||
case 'setup':
|
case 'setup':
|
||||||
?>
|
?>
|
||||||
<div class=<?php echo $menuclass?>>
|
<div class=<?php echo $menuclass?>>
|
||||||
<a class=<?php echo $menuclass?> href=readme.php>ReadMe</a>
|
<a class=<?php echo $menuclass?> href="readme.php">ReadMe</a>
|
||||||
<a class=<?php echo $menuclass?> href=setup.php>Setup</a>
|
<a class=<?php echo $menuclass?> href="setup.php">Setup</a>
|
||||||
<a class=<?php echo $menuclass?> href=about.php target=_about>About</a>
|
<a class=<?php echo $menuclass?> href="about.php" target="_about">About</a>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
@@ -75,19 +75,19 @@ function printHeader($withmenu="default") {
|
|||||||
print "<div class=$menuclass>";
|
print "<div class=$menuclass>";
|
||||||
|
|
||||||
if (DEMO) {
|
if (DEMO) {
|
||||||
print "<a class=$menuclass href=index.php>Public</a>";
|
print "<a class=$menuclass href=\"index.php\">Public</a>";
|
||||||
print "<a class=$menuclass href=ca/ >Manage</a>";
|
print "<a class=$menuclass href=\"ca/\">Manage</a>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
print "<a class=$menuclass href=index.php>Menu</a>";
|
print "<a class=$menuclass href=\"index.php\">Menu</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists('policy.html')) {
|
if (file_exists('policy.html')) {
|
||||||
print '<a class='.$menuclass.' style="color: red" href=policy.html target=help>Policy</a>';
|
print '<a class='.$menuclass.' style="color: red;" href="policy.html" target="help">Policy</a>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a class=<?php echo $menuclass?> href=help.php target=_help>Help</a>
|
<a class=<?php echo $menuclass?> href="help.php" target="_help">Help</a>
|
||||||
<a class=<?php echo $menuclass?> href=about.php target=_about>About</a>
|
<a class=<?php echo $menuclass?> href="about.php" target="_about">About</a>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
@@ -96,32 +96,32 @@ function printHeader($withmenu="default") {
|
|||||||
print "<div class=$menuclass>";
|
print "<div class=$menuclass>";
|
||||||
|
|
||||||
if (DEMO) {
|
if (DEMO) {
|
||||||
print "<a class=$menuclass href=../index.php>Public</a>";
|
print "<a class=$menuclass href=\"../index.php\">Public</a>";
|
||||||
print "<a class=$menuclass href=../ca/index.php>Manage</a>";
|
print "<a class=$menuclass href=\"../ca/index.php\">Manage</a>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
print "<a class=$menuclass href=index.php>Menu</a>";
|
print "<a class=$menuclass href=\"index.php\">Menu</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists('../policy.html')) {
|
if (file_exists('../policy.html')) {
|
||||||
print '<a class='.$menuclass.' style="color: red" href=../policy.html target=help>Policy</a>';
|
print '<a class='.$menuclass.' style="color: red;" href=\"../policy.html\" target=\"help\">Policy</a>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a class=<?php echo $menuclass?> href=../help.php target=_help>Help</a>
|
<a class=<?php echo $menuclass?> href="../help.php" target="_help">Help</a>
|
||||||
<a class=<?php echo $menuclass?> href=../about.php target=_about>About</a>
|
<a class=<?php echo $menuclass?> href="../about.php" target="_about">About</a>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
?><hr width=99% align=left color=#99caff><?php
|
?><hr style="width:99%; align:left; color:#99caff;" /><?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function printFooter() {
|
function printFooter() {
|
||||||
?>
|
?>
|
||||||
<br>
|
<br />
|
||||||
<hr width=99% align=left color=#99caff>
|
<hr style="width:99%; align:left; color:#99caff;" />
|
||||||
<center style='margin-top: -5px; font-size: 8pt'>PHPki v<?php echo PHPKI_VERSION?> - Copyright 2003 - William E. Roadcap</center><br>
|
<p style="margin-top: -5px; font-size: 8pt; text-align:center;">PHPki v<?php echo PHPKI_VERSION?> - Copyright 2003 - William E. Roadcap</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<?php
|
<?php
|
||||||
|
Reference in New Issue
Block a user