Add git.pvv.ntnu.no to the website
This commit is contained in:
parent
5ad772fc26
commit
ea7c33cb8e
|
@ -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 = '#';
|
||||
|
||||
|
|
Reference in New Issue