From 3c685aa352587b752af61c6e80b1645ca3830316 Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 20 Nov 2008 13:42:03 +0000 Subject: New feature: Dynamic tree of tags using Dojo toolkit (used by a menu2 sidebar box) [Config file modified: ] git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@165 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/sidebar.block.menu2.php | 62 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 templates/sidebar.block.menu2.php (limited to 'templates/sidebar.block.menu2.php') diff --git a/templates/sidebar.block.menu2.php b/templates/sidebar.block.menu2.php new file mode 100644 index 0000000..9b660fa --- /dev/null +++ b/templates/sidebar.block.menu2.php @@ -0,0 +1,62 @@ +getCurrentUserId(); +if ($logged_on_userid === false) { + $logged_on_userid = NULL; +} + +if(!isset($user)) { + $cat_url = createURL('tags', '%2$s'); +} + +$menu2Tags = $GLOBALS['menu2Tags']; +if (sizeOf($menu2Tags) > 0) { + ?> + +

'.T_('Menu Tags').' ';?>

+ + +'; + echo '
'; + echo ''; + echo ''; + echo '
'; +} +?> getUser($userid); ?> 0): ?> + +

+→

+ +

+→

+ +

+→

+ + + -- cgit v1.2.3