git://git.iain.cx/iain
/
readifood.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into uat
[readifood.git]
/
lib
/
header.php
diff --git
a/lib/header.php
b/lib/header.php
index
8f9624a
..
75cd167
100644
(file)
--- a/
lib/header.php
+++ b/
lib/header.php
@@
-5,7
+5,7
@@
<body>
<p id="header">
<body>
<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>
<a href="/city">Cities</a>
/
<a href="/area">Areas</a>
@@
-19,6
+19,10
@@
<a href="/hub">Hubs</a>
/
<a href="/donation">Donations</a>
<a href="/hub">Hubs</a>
/
<a href="/donation">Donations</a>
+
+<strong><em><?php echo $username; ?></em>@<?php echo $charity; ?></strong>
+<a href="/logout" class="smaller">logout</a>
+<?php } else echo "<strong>$charity</strong>"; ?>
</p>
<div id="main">
</p>
<div id="main">