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' => 'mail',
|
||||||
//'Webmail' => 'https://webmail.pvv.ntnu.no/',
|
//'Webmail' => 'https://webmail.pvv.ntnu.no/',
|
||||||
'Wiki' => 'pvv',
|
'Wiki' => 'pvv',
|
||||||
|
'Git' => 'https://git.pvv.ntnu.no/',
|
||||||
];
|
];
|
||||||
foreach($menuItems as $caption => $link) {
|
foreach($menuItems as $caption => $link) {
|
||||||
$isActive = $active === $link;
|
$isActive = $active === $link;
|
||||||
//if ($caption !== 'Webmail') {
|
if (substr( $link, 0, 4 ) != "http") {
|
||||||
$link = rtrim(str_repeat('../', $depth) . $link, '/') . '/';
|
$link = rtrim(str_repeat('../', $depth) . $link, '/') . '/';
|
||||||
//}
|
}
|
||||||
|
|
||||||
//if ($isActive) $link = '#';
|
//if ($isActive) $link = '#';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue