From 0c81abaa3e6319fb729f6924c8d8ffb7393a5072 Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 20 Feb 2009 09:33:59 +0000 Subject: Interface fix: menu2 just displays linked tags from admins git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@292 b3834d28-1941-0410-a4f8-b48e95affb8f --- ajax/getadminlinkedtags.php | 64 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 ajax/getadminlinkedtags.php (limited to 'ajax/getadminlinkedtags.php') diff --git a/ajax/getadminlinkedtags.php b/ajax/getadminlinkedtags.php new file mode 100644 index 0000000..75aae9a --- /dev/null +++ b/ajax/getadminlinkedtags.php @@ -0,0 +1,64 @@ +getAdminLinkedTags($tag, '>'); + if(count($linkedTags) > 0) { + $output.= ', children: ['; + foreach($linkedTags as $linkedTag) { + $output.= displayTag($linkedTag, $uId); + } + $output = substr($output, 0, -1); // remove final comma avoiding IE6 Dojo bug + $output.= "]"; + } + + $output.= '},'; + return $output; +} + +?> + +{ label: 'name', identifier: 'id', items: [ + +] } -- cgit v1.2.3