This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/templates/yuuno/forum/forumBtns.tpl

21 lines
1.1 KiB
Smarty
Executable file

<div class="buttonRow pagination">
<div class="leftSide">
<a href="{% if board.viewtopic %}{{ urls.format('FORUM_SUB', [topic.forum_id]) }}{% else %}{{ urls.format('FORUM_INDEX') }}{% endif %}" class="forumbtn"><span class="fa fa-backward"></span> Back</a>
{% if board.viewtopic %}
<a href="{{ urls.format('FORUM_REPLY', [topic.topic_id]) }}" class="forumbtn"><span class="fa fa-reply-all"></span> Reply</a>
{% endif %}
{% if board.viewforum %}
<a href="{{ urls.format('FORUM_NEW_THREAD', [board.forums[0].forum.forum_id]) }}" class="forumbtn"><span class="fa fa-pencil-square-o"></span> New Thread</a>
{% endif %}
</div>
<div class="rightSide">
<a href="#" class="forumbtn"><span class="fa fa-step-backward"></span></a>
<a href="#" class="forumbtn">1</a>
<a href="#" class="forumbtn">2</a>
<a href="#" class="forumbtn">3</a>
...
<a href="#" class="forumbtn">10</a>
<a href="#" class="forumbtn"><span class="fa fa-step-forward"></span></a>
</div>
<div class="clear"></div>
</div>