diff options
author | Christian Weiske <cweiske@cweiske.de> | 2010-10-07 19:46:20 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2010-10-07 19:46:20 +0200 |
commit | 20cd1969d1ccf6dd20de0bb4f96be8d2460b22bd (patch) | |
tree | e67c63152b5f138fcec453889e24b633fa1c5adb /data/templates/sidebar.block.menu2.php | |
parent | aa6b6863b8b23aad2198b301d2b0979987f8b087 (diff) | |
download | semanticscuttle-20cd1969d1ccf6dd20de0bb4f96be8d2460b22bd.tar.gz semanticscuttle-20cd1969d1ccf6dd20de0bb4f96be8d2460b22bd.tar.bz2 |
prettier html in menu2 tags
Diffstat (limited to 'data/templates/sidebar.block.menu2.php')
-rw-r--r-- | data/templates/sidebar.block.menu2.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/templates/sidebar.block.menu2.php b/data/templates/sidebar.block.menu2.php index 41c55ee..0c112a8 100644 --- a/data/templates/sidebar.block.menu2.php +++ b/data/templates/sidebar.block.menu2.php @@ -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> |