Fixed HTML Entities

pull/1/head
root 17 years ago
parent bbeb40f165
commit 811dd1118f

@ -133,7 +133,7 @@
<head> <head>
<title><?=$title?></title> <title><?=$title?></title>
<? if($_SESSION['_config']['header'] != "") { ?><?=$_SESSION['_config']['header']?><? } ?> <? if($_SESSION['_config']['header'] != "") { ?><?=$_SESSION['_config']['header']?><? } ?>
<link rel="stylesheet" href="/styles/default.css" type="text/css"> <link rel="stylesheet" href="/styles/default.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
function explode(e) { function explode(e) {
@ -222,12 +222,12 @@ function hideall() {
while(strstr($name, " ")) while(strstr($name, " "))
$name = str_replace(" ", " ", $name); $name = str_replace(" ", " ", $name);
$extra = "?name=".urlencode($name); $extra = "?name=".urlencode($name);
$extra .= "&dob=".urlencode($_SESSION['profile']['dob']); $extra .= "&amp;dob=".urlencode($_SESSION['profile']['dob']);
$extra .= "&email=".urlencode($_SESSION['profile']['email']); $extra .= "&amp;email=".urlencode($_SESSION['profile']['email']);
$extra2 = "?assurer=".urlencode($name)."&date=now&maxpoints=".maxpoints(); $extra2 = "?assurer=".urlencode($name)."&amp;date=now&amp;maxpoints=".maxpoints();
?> ?>
<ul class="menu" id="WoTForms"><li><a href="/cap.php<?=$extra?>">A4 - <?=_("WoT Form")?></a></li><li><a href="/cap.php<?=$extra?>&format=letter">US - <?=_("WoT Form")?></a></li><li><div style="whitespace:nowrap"><a href="/ttp.php<?=$extra?>">A4 - <?=_("TTP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/ttp.php<?=$extra?>&format=letter">US - <?=_("TTP Form")?></a></div></li><? if($_SESSION['profile']['points'] > 100) { ?><li><div style="whitespace:nowrap"><a href="/cap.php<?=$extra2?>">A4 - <?=_("Assurance Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/cap.php<?=$extra2?>&format=letter">US - <?=_("Assurance Form")?></a></div></li><? } ?><li><div style="whitespace:nowrap"><a href="/ttp.php">A4 - <?=_("Blank TTP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/ttp.php?format=letter">US - <?=_("Blank TTP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/cap.php">A4 - <?=_("Blank CAP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/cap.php?format=letter">US - <?=_("Blank CAP Form")?></a></div></li></ul> <ul class="menu" id="WoTForms"><li><a href="/cap.php<?=$extra?>">A4 - <?=_("WoT Form")?></a></li><li><a href="/cap.php<?=$extra?>&amp;format=letter">US - <?=_("WoT Form")?></a></li><li><div style="whitespace:nowrap"><a href="/ttp.php<?=$extra?>">A4 - <?=_("TTP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/ttp.php<?=$extra?>&amp;format=letter">US - <?=_("TTP Form")?></a></div></li><? if($_SESSION['profile']['points'] > 100) { ?><li><div style="whitespace:nowrap"><a href="/cap.php<?=$extra2?>">A4 - <?=_("Assurance Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/cap.php<?=$extra2?>&amp;format=letter">US - <?=_("Assurance Form")?></a></div></li><? } ?><li><div style="whitespace:nowrap"><a href="/ttp.php">A4 - <?=_("Blank TTP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/ttp.php?amp;format=letter">US - <?=_("Blank TTP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/cap.php">A4 - <?=_("Blank CAP Form")?></a></div></li><li><div style="whitespace:nowrap"><a href="/cap.php?amp;format=letter">US - <?=_("Blank CAP Form")?></a></div></li></ul>
</div> </div>
<? if($_SESSION['profile']['admin'] == 1 || $_SESSION['profile']['locadmin'] == 1) { ?> <? if($_SESSION['profile']['admin'] == 1 || $_SESSION['profile']['locadmin'] == 1) { ?>
<div class="relatedLinks"> <div class="relatedLinks">

Loading…
Cancel
Save