diff options
Diffstat (limited to 'code/nav.inc.php')
-rw-r--r-- | code/nav.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/nav.inc.php b/code/nav.inc.php index 06ce84d..bb7ce12 100644 --- a/code/nav.inc.php +++ b/code/nav.inc.php @@ -72,7 +72,8 @@ function Parse() { $ccount = 0; - $ret = '<li>'; + if($this->link) $ret = '<li class="nav_' . urlencode($this->link) . '">'; + else $ret = '<li>'; $a = $GLOBALS['nav']->ParseLink($this->text, $this->link); |