aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-10-02 11:37:03 +0000
committerCash Costello <cash.costello@gmail.com>2009-10-02 11:37:03 +0000
commite1652f241d7ef5e4641af27fae22240232787568 (patch)
tree62d2318700c214e4b5dfc59ec7c6d7d5f4371474 /views
parent364ea2fc085056d842e8aa6a3823a6b3084e229f (diff)
downloadelgg-e1652f241d7ef5e4641af27fae22240232787568.tar.gz
elgg-e1652f241d7ef5e4641af27fae22240232787568.tar.bz2
fixed delete tags bug
Diffstat (limited to 'views')
-rw-r--r--views/default/tidypics/tagging.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/tidypics/tagging.php b/views/default/tidypics/tagging.php
index ed33c4702..ebaf0dc94 100644
--- a/views/default/tidypics/tagging.php
+++ b/views/default/tidypics/tagging.php
@@ -70,8 +70,8 @@
if ($tag_info) {
$content = "<input type='hidden' name='image_guid' value='{$image->guid}' />";
foreach ($tag_info['links'] as $id => $link) {
- $name = "tags[{$id}]";
- $content .= elgg_view("input/checkboxes", array('options' => array($link['text'] => $link['text']), 'internalname' => $name, 'value' => '' ));
+ $text = htmlentities($link['text'], ENT_QUOTES, 'UTF-8');
+ $content .= "<label><input type=\"checkbox\" class=\"input-checkboxes\" name=\"tags[{$id}]\" value=\"{$text}\" />{$text}</label><br />";
}
$content .= "<input type='submit' value='" . elgg_echo('tidypics:actiondelete') . "' class='submit_button' />";