]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
prettier html in menu2 tags
authorChristian Weiske <cweiske@cweiske.de>
Thu, 7 Oct 2010 17:46:20 +0000 (19:46 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 7 Oct 2010 17:46:20 +0000 (19:46 +0200)
data/templates/sidebar.block.menu2.php

index 41c55ee8594b258ae4e80afc1a0a2e65df7c32ae..0c112a8185ef3fd1a345aa0816509850d606de51 100644 (file)
@@ -30,14 +30,16 @@ if (count($menu2Tags) > 0) {
 <?php echo 'title="'.T_('This menu is composed of keywords (tags) organized by admins.').'"'?>>
  <ul>
 <?php
+//this is unneeded and replaced by the ajax tree anyway. we keep it for
+// non-js browsers
 foreach ($menu2Tags as $menu2Tag) {
     echo '  <li>'
         . sprintf(
-            '<a href="%s">%s</a><ul><li><a href="#">foo</a></li><li><a href="#">bar</a></li></ul>',
+            '<a href="%s">%s</a>',
             sprintf($cat_url, $menu2Tag),
             $menu2Tag
         )
-        . '</li>';
+        . '</li>' . "\n";
 }
 ?>
  </ul>