diff --git a/mod/tagrm.php b/mod/tagrm.php index a6745e8e56..4bdaeb32f1 100644 --- a/mod/tagrm.php +++ b/mod/tagrm.php @@ -37,6 +37,11 @@ function tagrm_post(App $a) // NOTREACHED } +/** + * Updates tags from an item + * @param $item_id + * @param $tags array + */ function update_tags($item_id, $tags){ if (empty($item_id) || empty($tags)){ $a->internalRedirect($_SESSION['photo_return']); diff --git a/src/Model/Term.php b/src/Model/Term.php index 6c89b5d00f..75cc100703 100644 --- a/src/Model/Term.php +++ b/src/Model/Term.php @@ -291,8 +291,9 @@ class Term return $return; } - /* - * Deletes all Tags from an item + /** + * Delete all tags from an item + * @param int itemid - choose from which item the tags will be removed */ public static function deleteAllTags($itemid) { diff --git a/view/theme/frio/templates/photo_view.tpl b/view/theme/frio/templates/photo_view.tpl index cc72a10fa2..939d9f0e98 100644 --- a/view/theme/frio/templates/photo_view.tpl +++ b/view/theme/frio/templates/photo_view.tpl @@ -52,12 +52,12 @@ {{* Tags and mentions *}} {{if $tags}}
{{/if}}