mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
fix doxygen header + indent
This commit is contained in:
parent
1689c44085
commit
272eb5eb82
3 changed files with 14 additions and 8 deletions
|
@ -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']);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -52,12 +52,12 @@
|
|||
{{* Tags and mentions *}}
|
||||
{{if $tags}}
|
||||
<div id="photo-tags">{{$tags.title}}
|
||||
{{foreach $tags.tags as $t}}
|
||||
<span class="category label btn-success sm">
|
||||
<span class="p-category">{{$t.name}}</span>
|
||||
{{if $t.removeurl}} (<a href="{{$t.removeurl}}">x</a>) {{/if}}
|
||||
</span>
|
||||
{{/foreach}}
|
||||
{{foreach $tags.tags as $t}}
|
||||
<span class="category label btn-success sm">
|
||||
<span class="p-category">{{$t.name}}</span>
|
||||
{{if $t.removeurl}} (<a href="{{$t.removeurl}}">x</a>) {{/if}}
|
||||
</span>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue