pull/1/head
root 18 years ago
parent 7cfe344b2c
commit 2eb0226d64

@ -194,7 +194,11 @@ function hideall() {
</div>
<? } ?>
<div class="relatedLinks">
<h3 onclick="explode('WoT')">+ <?=_("CAcert Web of Trust")?></h3><?
<h3 onclick="explode('WoT')">+ <?=_("CAcert Web of Trust")?></h3>
<ul class="menu" id="WoT"><li><a href="wot.php?id=0"><?=_("About")?></a></li><li><a href="wot.php?id=12"><?=_("Find an Assurer")?></a></li><li><a href="wot.php?id=3"><?=_("Rules")?></a></li><li><? if($_SESSION['profile']['points'] < 100) { ?><a href="wot.php?id=2"><?=_("Becoming an Assurer")?></a><? } else { ?><a href="wot.php?id=5"><?=_("Assure Someone")?></a><? } ?></li><li><a href="wot.php?id=4"><?=_("Trusted Third Parties")?></a></li><? if($_SESSION['profile']['points'] > 50) { ?><li><a href="wot.php?id=11"><nobr><?=_("Organisation Assurance")?></nobr></a></li><? } ?></ul>
</div>
<div class="relatedLinks">
<h3 onclick="explode('WoTForms')">+ <?=_("CAP/TTP Forms")?></h3><?
$name = $_SESSION['profile']['fname']." ".$_SESSION['profile']['mname']." ".$_SESSION['profile']['lname']." ".$_SESSION['profile']['suffix'];
while(strstr($name, " "))
$name = str_replace(" ", " ", $name);
@ -204,7 +208,7 @@ function hideall() {
$extra2 = "?assurer=".urlencode($name)."&date=now&maxpoints=".maxpoints();
?>
<ul class="menu" id="WoT"><li><a href="wot.php?id=0"><?=_("About")?></a></li><li><a href="wot.php?id=12"><?=_("Find an Assurer")?></a></li><li><a href="wot.php?id=3"><?=_("Rules")?></a></li><li><? if($_SESSION['profile']['points'] < 100) { ?><a href="wot.php?id=2"><?=_("Becoming an Assurer")?></a><? } else { ?><a href="wot.php?id=5"><?=_("Assure Someone")?></a><? } ?></li><li><a href="wot.php?id=4"><?=_("Trusted Third Parties")?></a></li><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><nobr><a href="/ttp.php<?=$extra?>">A4 - <?=_("TTP Form")?></nobr></li><li><nobr><a href="/ttp.php<?=$extra?>&format=letter">US - <?=_("TTP Form")?></a></nobr></li><? if($_SESSION['profile']['points'] > 100) { ?><li><nobr><a href="/ttp.php<?=$extra2?>">A4 - <?=_("Blank TTP Form")?></nobr></li><li><nobr><a href="/ttp.php<?=$extra2?>&format=letter">US - <?=_("Blank TTP Form")?></a></nobr></li><? } ?><? if($_SESSION['profile']['points'] > 50) { ?><li><a href="wot.php?id=11"><nobr><?=_("Organisation Assurance")?></nobr></a></li><? } ?></ul>
<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><nobr><a href="/ttp.php<?=$extra?>">A4 - <?=_("TTP Form")?></nobr></li><li><nobr><a href="/ttp.php<?=$extra?>&format=letter">US - <?=_("TTP Form")?></a></nobr></li><? if($_SESSION['profile']['points'] > 100) { ?><li><nobr><a href="/cap.php<?=$extra2?>">A4 - <?=_("Assurance Form")?></nobr></li><li><nobr><a href="/cap.php<?=$extra2?>&format=letter">US - <?=_("Assurance Form")?></a></nobr></li><? } ?><li><nobr><a href="/ttp.php">A4 - <?=_("Blank TTP Form")?></nobr></li><li><nobr><a href="/ttp.php&format=letter">US - <?=_("Blank TTP Form")?></a></nobr></li><li><nobr><a href="/cap.php">A4 - <?=_("Blank CAP Form")?></nobr></li><li><nobr><a href="/capp.php&format=letter">US - <?=_("Blank CAP Form")?></a></nobr></li></ul>
</div>
<? if($_SESSION['profile']['points'] >= 50) { ?>
<div class="relatedLinks">

Loading…
Cancel
Save