forked from I2P_Developers/i2p.www
rolled back to 1.4 (mods didn't quite work)
This commit is contained in:
4
menu.php
4
menu.php
@@ -23,10 +23,7 @@ function buildmenu() {
|
|||||||
if (isset($page_config['nolink'])) {
|
if (isset($page_config['nolink'])) {
|
||||||
$link = $title;
|
$link = $title;
|
||||||
} else {
|
} else {
|
||||||
if(preg_match("/^(http:\/\/|\/)/", $title))
|
|
||||||
$link = "<a href=\"$uri\">$title</a>";
|
$link = "<a href=\"$uri\">$title</a>";
|
||||||
else
|
|
||||||
$link = "<a href=\"/$uri\">$title</a>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($page_config['depth']) {
|
switch ($page_config['depth']) {
|
||||||
@@ -46,3 +43,4 @@ function buildmenu() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user