[frio] Add block author button in More dropdown
This commit is contained in:
parent
6b0df74ed7
commit
590d44df5f
3 changed files with 39 additions and 3 deletions
|
@ -6,6 +6,7 @@ They are loaded into the html <head> so that js functions can use them *}}
|
|||
|
||||
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
||||
var aStr = {
|
||||
'delitem' : "{{$delitem}}",
|
||||
'delitem' : "{{$delitem|escape:'javascript' nofilter}}",
|
||||
'blockAuthor' : "{{$blockAuthor|escape:'javascript' nofilter}}",
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -393,6 +393,12 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
<a class="btn-link navicon delete" href="javascript:dropItem('item/drop/{{$item.id}}/{{$item.return}}', 'item-{{$item.guid}}');" title="{{$item.drop.delete}}"><i class="fa fa-trash" aria-hidden="true"></i> {{$item.drop.delete}}</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{if $item.block}}
|
||||
<li role="menuitem">
|
||||
<a class="btn-link navicon block" href="javascript:blockAuthor('item/block/{{$item.id}}/{{$item.return}}', 'item-{{$item.guid}}');" title="{{$item.block.block}}"><i class="fa fa-ban" aria-hidden="true"></i> {{$item.block.block}}</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue