You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
2.0 KiB
Smarty

10 years ago
<!-- IF privileges.view_thread_tools -->
<div class="btn-group thread-tools dropup">
10 years ago
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">
<span class="visible-sm-inline visible-md-inline visible-lg-inline">[[topic:thread_tools.title]]</span>
<span class="visible-xs-inline"><i class="fa fa-fw fa-gear"></i></span>
<span class="caret"></span>
</button>
10 years ago
<ul class="dropdown-menu pull-right">
<!-- IF privileges.editable -->
<li><a component="topic/mark-unread-for-all" href="#" class="markAsUnreadForAll"><i class="fa fa-fw fa-inbox"></i> [[topic:thread_tools.markAsUnreadForAll]]</a></li>
<li><a component="topic/pin" href="#" class="pin_thread"><i class="fa fa-fw fa-thumb-tack"></i> [[topic:thread_tools.pin]]</a></li>
<li><a component="topic/lock" href="#" class="lock_thread"><i class="fa fa-fw fa-lock"></i> [[topic:thread_tools.lock]]</a></li>
10 years ago
<li class="divider"></li>
<li><a component="topic/move" href="#" class="move_thread"><i class="fa fa-fw fa-arrows"></i> [[topic:thread_tools.move]]</a></li>
<li><a component="topic/fork" href="#" class="fork_thread"><i class="fa fa-fw fa-code-fork"></i> [[topic:thread_tools.fork]]</a></li>
10 years ago
<li class="divider"></li>
<!-- ENDIF privileges.editable -->
<!-- IF privileges.deletable -->
<li><a component="topic/delete" href="#" class="delete_thread"><span class="text-error"><i class="fa fa-fw fa-trash-o"></i> [[topic:thread_tools.delete]]</span></a></li>
<li><a component="topic/purge" href="#" class="purge_thread <!-- IF !deleted -->hidden<!-- ENDIF !deleted -->"><span class="text-error"><i class="fa fa-fw fa-eraser"></i> [[topic:thread_tools.purge]]</span></a></li>
10 years ago
<!-- ENDIF privileges.deletable -->
<!-- IF privileges.editable -->
<!-- BEGIN thread_tools -->
<li>
<a href="#" class="{thread_tools.class}"><i class="fa fa-fw {thread_tools.icon}"></i> {thread_tools.title}</a>
</li>
<!-- END thread_tools -->
<!-- ENDIF privileges.editable -->
</ul>
</div>
<!-- ENDIF privileges.view_thread_tools -->