summaryrefslogtreecommitdiffstats
path: root/code/nav.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-01-14 03:14:01 +0100
committerneoraider <devnull@localhost>2006-01-14 03:14:01 +0100
commitc630a2d50349c57660cfc98eb13ec71444b27610 (patch)
tree4fa7ad9b755a4d8ae9045062cb4fefab248187e4 /code/nav.inc.php
parent8b89c8c8a9001c5f5b38465ceb58306fc6f0659e (diff)
downloadneon-c630a2d50349c57660cfc98eb13ec71444b27610.tar
neon-c630a2d50349c57660cfc98eb13ec71444b27610.zip
Login implementiert. Puh... Und dabei auch den Handler phpexec und die Nav-Pages eingebaut.
Diffstat (limited to 'code/nav.inc.php')
-rw-r--r--code/nav.inc.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/code/nav.inc.php b/code/nav.inc.php
index 245e208..59f4c8d 100644
--- a/code/nav.inc.php
+++ b/code/nav.inc.php
@@ -68,12 +68,9 @@
$ccount = 0;
$ret = '<li>';
- $link = $GLOBALS['links']->ParseNavLink($this->link);
+ $a = $GLOBALS['links']->ParseNavLink($this->text, $this->link);
- if($link)
- $ret .= '<a href="' . $link . '">' . $this->text . '</a>';
- else
- $ret .= $this->text;
+ $ret .= $a;
if(count($this->children) > 0) {
$ret .= '<ul>';
@@ -91,7 +88,7 @@
$ret .= '</ul>';
}
- if(!$ccount && !$link)
+ if(!$ccount && $a == $this->text)
return '';
return $ret . '</li>';