From 3cae6838170fc79f7d367bcb017b67e91620c54c Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 18 Dec 2008 22:11:03 +0000 Subject: Interface fix: allows to remove a tag from selection in subtitle bar thanks to a * git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@207 b3834d28-1941-0410-a4f8-b48e95affb8f --- functions.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'functions.inc.php') diff --git a/functions.inc.php b/functions.inc.php index 4dd73f3..3ee0e9b 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -115,6 +115,20 @@ function checkUrl($url, $checkOnline = true) { } } +/* Returns a concatenated String + * including all the tags from the array $arrayTags (excepted of the $exceptedTag) + * separated by the $separator. + * */ +function aggregateTags($arrayTags, $separator = ' + ', $exceptedTag = '') { + $output = ''; + + for($i = 0; $i