diff options
author | Cash Costello <cash.costello@gmail.com> | 2010-03-06 22:35:15 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2010-03-06 22:35:15 +0000 |
commit | 8f6d4a6a36a9f00242ffe368a3d9e306c7e3a837 (patch) | |
tree | de68df99b89fc1671ae63b9d5adf7d238532dcba /views | |
parent | 4ea3fc8331ff29abc55c3c7f082a6d8c7110b21c (diff) | |
download | elgg-8f6d4a6a36a9f00242ffe368a3d9e306c7e3a837.tar.gz elgg-8f6d4a6a36a9f00242ffe368a3d9e306c7e3a837.tar.bz2 |
fixed bug with delete tags menu item
Diffstat (limited to 'views')
-rw-r--r-- | views/default/tidypics/image_menu.php | 2 | ||||
-rw-r--r-- | views/default/tidypics/tagging.php | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/views/default/tidypics/image_menu.php b/views/default/tidypics/image_menu.php index 983f900b4..498cfe724 100644 --- a/views/default/tidypics/image_menu.php +++ b/views/default/tidypics/image_menu.php @@ -37,7 +37,7 @@ // only owner can delete tags if ($anytags && $viewer && $viewer->guid == $owner->guid) { ?> -<li id="delete_tags"><a href="javascript:void(0)" onclick="deleteTags()"><?php elgg_echo('tidypics:deletetag'); ?></a></li> +<li id="delete_tags"><a href="javascript:void(0)" onclick="deleteTags()"><?php echo elgg_echo('tidypics:deletetag'); ?></a></li> <?php } } diff --git a/views/default/tidypics/tagging.php b/views/default/tidypics/tagging.php index ae3fa2b27..536bf6b20 100644 --- a/views/default/tidypics/tagging.php +++ b/views/default/tidypics/tagging.php @@ -66,7 +66,8 @@ <div class="clearfloat"></div> </div> <div id="tidypics_delete_tag_menu" class="tidypics_popup"> -<div class='tidypics_popup_header'><h3><?php echo elgg_echo('tidypics:deltag_title'); ?></h3></div> + <div class='tidypics_popup_header'><h3><?php echo elgg_echo('tidypics:deltag_title'); ?></h3></div> + <?php if ($tag_info) { $content = "<input type='hidden' name='image_guid' value='{$image->guid}' />"; @@ -81,7 +82,8 @@ echo elgg_view('input/form', array('internalname' => 'phototag_deletetag_form', 'action' => "{$vars['url']}action/tidypics/deletetag", 'method' => 'post', 'body' => $content)); } - echo '</div>'; // tidypics_delete_tag_menu - +?> +</div> +<?php echo elgg_view('js/tagging', array('photo_tags_json' => $photo_tags_json,) ); ?>
\ No newline at end of file |