diff options
author | raylu <raylu@mixpanel.com> | 2012-07-17 22:41:01 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2012-07-17 22:41:13 -0700 |
commit | ffd3a655016ec14af260ed032c02a5b429424c5b (patch) | |
tree | 6e83ee2064572f05986f3c08d6fed79f328190d4 /includes/header.php | |
parent | 9294aee35754b3a9ad8d23cd0109aadd61280362 (diff) | |
download | pathery-ffd3a655016ec14af260ed032c02a5b429424c5b.tar.xz |
fix some undefined references/indices, tabulation
Diffstat (limited to 'includes/header.php')
-rw-r--r-- | includes/header.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/header.php b/includes/header.php index 50759e0..d718588 100644 --- a/includes/header.php +++ b/includes/header.php @@ -91,7 +91,7 @@ function htmlFooter() { function topbar($links) {
echo '<div id="topbar">';
- $page = $_GET[page];
+ $page = $_GET['page'];
if ($page == '')
$page = 'home';
foreach ($links as $key => $value) {
@@ -99,7 +99,7 @@ function topbar($links) { $selected = " selected";
else
$selected = "";
- echo "<a href='$domain$key' class='nav$selected'>$value</a>";
+ echo "<a href='$key' class='nav$selected'>$value</a>";
}
echo "<div id='user'>";
|