summaryrefslogtreecommitdiffstats
path: root/code/links.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-04-11 01:32:02 +0200
committerneoraider <devnull@localhost>2006-04-11 01:32:02 +0200
commite267e31bd045ff4a6bfa1489b0ad0eb5fcc7b31d (patch)
tree12258874b7507fd9784184c08e2fbd89e945edd4 /code/links.inc.php
parent9697f5a0d665e7171de958182cbe59c1dcfe2c87 (diff)
downloadneon-e267e31bd045ff4a6bfa1489b0ad0eb5fcc7b31d.tar
neon-e267e31bd045ff4a6bfa1489b0ad0eb5fcc7b31d.zip
/code/links.inc.php /code/nav.inc.php: Links::ParseNavLink nach Nav::ParseLink verschoben.
/code/pages.inc.php: Bug in HasAccess() gefixt. /handlers/default.inc.php /handlers/phpexec.inc.php: Globale Variablen wurden nicht in $GLOBALS gesetzt.
Diffstat (limited to 'code/links.inc.php')
-rw-r--r--code/links.inc.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/code/links.inc.php b/code/links.inc.php
index 2eddb77..b5ae18e 100644
--- a/code/links.inc.php
+++ b/code/links.inc.php
@@ -34,31 +34,6 @@
return '';
}
-
- function ParseNavLink($text, $link) {
- if(!$link) return $text;
-
- switch($link[0]) {
- case ':':
- $ret = $this->GetNeonLink(substr($link, 1));
-
- if($ret)
- return '<a href="' . $ret . '">' . $text . '</a>';
-
- return $text;
- case '@':
- return '<a href="' . $this->GetMailtoLink(substr($link, 1)) . '">' . $text . '</a>';
- case '!':
- $ret = $this->GetNavPage(substr($link, 1));
-
- if($ret)
- return $ret;
-
- return $text;
- default:
- return '<a href="' . $this->GetExternalLink($link) . '">' . $text . '</a>';
- }
- }
}
$GLOBALS['links'] = new Links;