git://git.iain.cx/iain
/
readifood.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5222b6d
)
Don't show menu when not logged in.
author
Iain Patterson
<me@iain.cx>
Tue, 25 Jun 2013 10:18:49 +0000
(06:18 -0400)
committer
Iain Patterson
<me@iain.cx>
Tue, 25 Jun 2013 10:18:49 +0000
(06:18 -0400)
lib/header.php
patch
|
blob
|
history
diff --git
a/lib/header.php
b/lib/header.php
index
8f9624a
..
88a7271
100644
(file)
--- a/
lib/header.php
+++ b/
lib/header.php
@@
-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">