[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-04 20:38:31
Message-ID: 1154723911.759184.10057.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 569802 by ojschmidt:
Repaired version of Aaron's patch to make non-links work in the menu
CCMAIL: aseigo@kde.org
M +8 -5 class_menu.inc
--- trunk/www/media/includes/classes/class_menu.inc #569801:569802
@@ -256,12 +256,15 @@
else
print $template_menuitem1."\n";
+ if (! empty ($this->link) || ! empty ($this->menu_baseurl)) {
+ print '<a href="';
+ if ($this->relative_link)
+ print $this->menu_baseurl;
+ print $this->link.'">'.$this->name."</a>";
+ }
+ else
+ print $this->name;
- print '<a href="';
- if ($this->relative_link)
- print $this->menu_baseurl;
- print $this->link.'">'.$this->name."</a>";
-
if ($this->itemActive() && (count($this->items) > 0))
{
print $template_menusublist2."\n";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic