Projects/nettsiden-old
Projects
/
nettsiden-old
Archived
8
0
Fork 0

Add git.pvv.ntnu.no to the website

This commit is contained in:
Peder Bergebakken Sundt 2019-04-08 19:34:31 +02:00
parent 5ad772fc26
commit ea7c33cb8e
1 changed files with 3 additions and 2 deletions

View File

@ -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 = '#';