Don't show menu when not logged in.
authorIain Patterson <me@iain.cx>
Tue, 25 Jun 2013 10:18:49 +0000 (06:18 -0400)
committerIain Patterson <me@iain.cx>
Tue, 25 Jun 2013 10:18:49 +0000 (06:18 -0400)
lib/header.php

index 8f9624a..88a7271 100644 (file)
@@ -6,6 +6,7 @@
 
 <p id="header">
 <strong> <?php if ($username) echo "<em>$username</em>@"; echo "$charity"; ?></strong>
+<?php if ($username) { ?>
 <a href="/city">Cities</a>
 /
 <a href="/area">Areas</a>
@@ -19,6 +20,7 @@
 <a href="/hub">Hubs</a>
 /
 <a href="/donation">Donations</a>
+<?php } ?>
 </p>
 
 <div id="main">