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
2015-06-27 21:29:37 +02:00

35 lines
851 B
Smarty

<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>
{% if board.viewforum %}
<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 %}
{% include 'forum/topicEntry.tpl' %}
{% endfor %}
</tbody>
</table>
{% endif %}