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

List:       kde-commits
Subject:    www/media/includes/classes
From:       Ingo Malchow <ingomalchow () googlemail ! com>
Date:       2010-02-17 23:43:35
Message-ID: 1266450215.958100.25296.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1091978 by imalchow:

remove links from old categories, part II

 M  +5 -2      class_menu.inc  


--- trunk/www/media/includes/classes/class_menu.inc #1091977:1091978
@@ -150,10 +150,13 @@
   }
 
   function show ()
-  { global $template_menulist1, $template_menulist2, $template_menulist3;
+  { global $template_menulist1, $template_menulist2, $template_menulist3, \
$templatepath;  
     print $template_menulist1."\n";
-    print '<h2 id="cp-menu-'.$this->id.'"><a \
href="'.$this->link.'">'.$this->name."</a></h2>\n"; +    if ($templatepath == \
"chihuahua/") +	print '<h2 id="cp-menu-'.$this->id.'"><a \
href="'.$this->link.'">'.$this->name."</a></h2>\n"; +    else
+	print '<h2 id="cp-menu-'.$this->id.'">'.$this->name."</h2>\n";
     print '<a href="#cp-skip-'.$this->id.'" class="cp-doNotDisplay">'.str_replace \
('%1', $this->name, i18n_var ('Skip menu "%1"'))."</a>\n";  print \
$template_menulist2."\n";  


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

Configure | About | News | Add a list | Sponsored by KoreLogic