summaryrefslogtreecommitdiffstats
path: root/includes/header.php
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2012-07-17 22:41:01 -0700
committerraylu <raylu@mixpanel.com>2012-07-17 22:41:13 -0700
commitffd3a655016ec14af260ed032c02a5b429424c5b (patch)
tree6e83ee2064572f05986f3c08d6fed79f328190d4 /includes/header.php
parent9294aee35754b3a9ad8d23cd0109aadd61280362 (diff)
downloadpathery-ffd3a655016ec14af260ed032c02a5b429424c5b.tar.xz
fix some undefined references/indices, tabulation
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php4
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'>";