[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/media/includes/classes
From: Olaf Schmidt <ojschmidt () kde ! org>
Date: 2006-08-02 21:11:16
Message-ID: 1154553076.128643.18028.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 569069 by ojschmidt:
Patch from Aaron to make non-links work in the menu
CCMAIL: aseigo@kde.org
M +12 -4 class_menu.inc
--- trunk/www/media/includes/classes/class_menu.inc #569068:569069
@@ -256,10 +256,18 @@
else
print $template_menuitem1."\n";
- print '<a href="';
- if ($this->relative_link)
- print $this->menu_baseurl;
- print $this->link.'">'.$this->name."</a>";
+ if (!empty($this->link))
+ {
+ print '<a href="';
+ if ($this->relative_link)
+ print $this->menu_baseurl;
+ print $this->link.'">';
+ }
+ print $this->name;
+ if (!empty($this->link))
+ {
+ print "</a>";
+ }
if ($this->itemActive() && (count($this->items) > 0))
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic