fix doxygen header + indent
This commit is contained in:
parent
1689c44085
commit
272eb5eb82
|
@ -37,6 +37,11 @@ function tagrm_post(App $a)
|
||||||
// NOTREACHED
|
// NOTREACHED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Updates tags from an item
|
||||||
|
* @param $item_id
|
||||||
|
* @param $tags array
|
||||||
|
*/
|
||||||
function update_tags($item_id, $tags){
|
function update_tags($item_id, $tags){
|
||||||
if (empty($item_id) || empty($tags)){
|
if (empty($item_id) || empty($tags)){
|
||||||
$a->internalRedirect($_SESSION['photo_return']);
|
$a->internalRedirect($_SESSION['photo_return']);
|
||||||
|
|
|
@ -291,8 +291,9 @@ class Term
|
||||||
return $return;
|
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)
|
public static function deleteAllTags($itemid)
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,12 +52,12 @@
|
||||||
{{* Tags and mentions *}}
|
{{* Tags and mentions *}}
|
||||||
{{if $tags}}
|
{{if $tags}}
|
||||||
<div id="photo-tags">{{$tags.title}}
|
<div id="photo-tags">{{$tags.title}}
|
||||||
{{foreach $tags.tags as $t}}
|
{{foreach $tags.tags as $t}}
|
||||||
<span class="category label btn-success sm">
|
<span class="category label btn-success sm">
|
||||||
<span class="p-category">{{$t.name}}</span>
|
<span class="p-category">{{$t.name}}</span>
|
||||||
{{if $t.removeurl}} (<a href="{{$t.removeurl}}">x</a>) {{/if}}
|
{{if $t.removeurl}} (<a href="{{$t.removeurl}}">x</a>) {{/if}}
|
||||||
</span>
|
</span>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue