forked from I2P_Developers/i2p.www
remove unneeded absolute links
(duck)
This commit is contained in:
3
menu.php
3
menu.php
@@ -26,10 +26,7 @@ function buildmenu() {
|
|||||||
if (isset($page_config['nolink'])) {
|
if (isset($page_config['nolink'])) {
|
||||||
$link = $title;
|
$link = $title;
|
||||||
} else {
|
} else {
|
||||||
if(eregi("^(http://|/).*", $uri))
|
|
||||||
$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']) {
|
||||||
|
Reference in New Issue
Block a user