diff --git a/inc/navbar.php b/inc/navbar.php index 5e9d3bb..3c2643e 100644 --- a/inc/navbar.php +++ b/inc/navbar.php @@ -11,12 +11,13 @@ function navbar($depth, $active = NULL) { 'Webmail' => 'mail', //'Webmail' => 'https://webmail.pvv.ntnu.no/', 'Wiki' => 'pvv', + 'Git' => 'https://git.pvv.ntnu.no/', ]; foreach($menuItems as $caption => $link) { $isActive = $active === $link; - //if ($caption !== 'Webmail') { + if (substr( $link, 0, 4 ) != "http") { $link = rtrim(str_repeat('../', $depth) . $link, '/') . '/'; - //} + } //if ($isActive) $link = '#';