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
Use show_date_form() for donations.
[readifood.git]
/
lib
/
header.php
diff --git
a/lib/header.php
b/lib/header.php
index
88a7271
..
3c44dd9
100644
(file)
--- a/
lib/header.php
+++ b/
lib/header.php
@@
-1,11
+1,15
@@
<head>
<link rel="stylesheet" type="text/css" href="/style.css">
<title><?php echo "$charity"; if ($module) echo " - $module"; ?></title>
<head>
<link rel="stylesheet" type="text/css" href="/style.css">
<title><?php echo "$charity"; if ($module) echo " - $module"; ?></title>
+<?php
+ echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css\">\n";
+ echo "<script src=\"$http://code.jquery.com/jquery-1.9.1.js\"></script>\n";
+ echo "<script src=\"$http://code.jquery.com/ui/1.10.3/jquery-ui.js\"></script>\n";
+?>
</head>
<body>
<p id="header">
</head>
<body>
<p id="header">
-<strong> <?php if ($username) echo "<em>$username</em>@"; echo "$charity"; ?></strong>
<?php if ($username) { ?>
<a href="/city">Cities</a>
/
<?php if ($username) { ?>
<a href="/city">Cities</a>
/
@@
-20,7
+24,12
@@
<a href="/hub">Hubs</a>
/
<a href="/donation">Donations</a>
<a href="/hub">Hubs</a>
/
<a href="/donation">Donations</a>
-<?php } ?>
+/
+<a href="/report">Reports</a>
+
+<strong class="small"><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">