rolled back to 1.4 (mods didn't quite work)

This commit is contained in:
jrandom
2004-07-23 04:15:19 +00:00
committed by zzz
parent fd16c0c836
commit decf428289

View File

@@ -23,10 +23,7 @@ function buildmenu() {
if (isset($page_config['nolink'])) {
$link = $title;
} else {
if(preg_match("/^(http:\/\/|\/)/", $title))
$link = "<a href=\"$uri\">$title</a>";
else
$link = "<a href=\"/$uri\">$title</a>";
}
switch ($page_config['depth']) {
@@ -46,3 +43,4 @@ function buildmenu() {
}
}
?>