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/forum.tpl

42 lines
1.3 KiB
Smarty
Raw Normal View History

2015-06-27 19:29:37 +00:00
<div class="head">Forums{% if board.viewforum %} / {{ board.forums[0].forum.forum_name }}{% endif %}</div>
<table class="forumList">
<tbody>
{% for category in board.forums %}
{% include 'forum/forumEntry.tpl' %}
{% endfor %}
</tbody>
</table>
2015-06-28 14:43:46 +00:00
{% if board.viewforum and not board.forums[0].forum.forum_type %}
2015-07-05 15:03:58 +00:00
{% include 'forum/forumBtns.tpl' %}
2015-06-28 14:43:46 +00:00
{% if board.topics|length %}
<table class="topicList">
<thead>
<tr>
<th></th>
<th>Topic</th>
<th>Author</th>
<th></th>
<th>Last post</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th>Topic</th>
<th>Author</th>
<th></th>
<th>Last post</th>
</tr>
</tfoot>
<tbody>
{% for topic in board.topics[currentPage] %}
2015-06-28 14:43:46 +00:00
{% include 'forum/topicEntry.tpl' %}
{% endfor %}
</tbody>
</table>
{% else %}
<h1 class="stylised" style="margin: 2em auto; text-align: center;">There are no posts in this forum!</h1>
{% endif %}
2015-07-05 15:03:58 +00:00
{% include 'forum/forumBtns.tpl' %}
2015-06-27 19:29:37 +00:00
{% endif %}