From 29422fa55379aa61a61019b832c83dab6d450264 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:00:33 +0000 Subject: move files to new locations git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f --- www/ajax/getadminlinkedtags.php | 64 +++++++++++++++++++++++++++++++++++++++++ www/ajax/getadmintags.php | 44 ++++++++++++++++++++++++++++ www/ajax/getcontacttags.php | 44 ++++++++++++++++++++++++++++ www/ajax/getlinkedtags.php | 64 +++++++++++++++++++++++++++++++++++++++++ www/ajax/gettags.php | 44 ++++++++++++++++++++++++++++ 5 files changed, 260 insertions(+) create mode 100644 www/ajax/getadminlinkedtags.php create mode 100644 www/ajax/getadmintags.php create mode 100644 www/ajax/getcontacttags.php create mode 100644 www/ajax/getlinkedtags.php create mode 100644 www/ajax/gettags.php (limited to 'www/ajax') diff --git a/www/ajax/getadminlinkedtags.php b/www/ajax/getadminlinkedtags.php new file mode 100644 index 0000000..75aae9a --- /dev/null +++ b/www/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: [ + +] } diff --git a/www/ajax/getadmintags.php b/www/ajax/getadmintags.php new file mode 100644 index 0000000..e3d8025 --- /dev/null +++ b/www/ajax/getadmintags.php @@ -0,0 +1,44 @@ + + +{identifier:"tag", +items: [ +getAdminTags(1000, $userservice->getCurrentUserId()); + foreach($listTags as $t) { + echo "{tag: \"".$t['tag']."\"},"; + } +?> +]} + + + + diff --git a/www/ajax/getcontacttags.php b/www/ajax/getcontacttags.php new file mode 100644 index 0000000..9c25e1a --- /dev/null +++ b/www/ajax/getcontacttags.php @@ -0,0 +1,44 @@ + + +{identifier:"tag", +items: [ +getContactTags($userservice->getCurrentUserId(), 1000, $userservice->getCurrentUserId()); + foreach($listTags as $t) { + echo "{tag: \"".$t['tag']."\"},"; + } +?> +]} + + + + diff --git a/www/ajax/getlinkedtags.php b/www/ajax/getlinkedtags.php new file mode 100644 index 0000000..a34805b --- /dev/null +++ b/www/ajax/getlinkedtags.php @@ -0,0 +1,64 @@ +getLinkedTags($tag, '>', $uId); + 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: [ + +] } diff --git a/www/ajax/gettags.php b/www/ajax/gettags.php new file mode 100644 index 0000000..7b8b33a --- /dev/null +++ b/www/ajax/gettags.php @@ -0,0 +1,44 @@ + + +{identifier:"tag", +items: [ +getPopularTags($userservice->getCurrentUserId(), 1000, $userservice->getCurrentUserId()); + foreach($listTags as $t) { + echo "{tag: \"".$t['tag']."\"},"; + } +?> +]} + + + + -- cgit v1.2.3-54-g00ecf