[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/media/includes/classes
From:       Rainer Endres <endres () physos ! org>
Date:       2006-08-03 0:40:03
Message-ID: 1154565603.884049.5790.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 569120 by endres:


        Reverting the patch to fix www.kde.org



 M  +5 -12     class_menu.inc  


--- trunk/www/media/includes/classes/class_menu.inc #569119:569120
@@ -256,19 +256,12 @@
     else
       print $template_menuitem1."\n";
 
-    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>";
-    }
 
+    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