mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00

* now you can replace template in your main template, example is templates/kathrine/templates/success.html * removed output_errors, replace with template * some grammar fixes * moved some forum code to Twig templates * added movies link to tibiacom template
35 lines
861 B
HTML
35 lines
861 B
HTML
<b>Boards</b>
|
|
<table width="100%">
|
|
<tr bgcolor="{{ config.vdarkborder }}">
|
|
<td>
|
|
<font color="white" size="1"><b>Board</b></font>
|
|
</td>
|
|
<td>
|
|
<font color="white" size="1"><b>Posts</b></font>
|
|
</td>
|
|
<td>
|
|
<font color="white" size="1"><b>Threads</b></font>
|
|
</td>
|
|
<td align="center">
|
|
<font color="white" size="1"><b>Last Post</b></font>
|
|
</td>
|
|
</tr>
|
|
{% set i = 0 %}
|
|
{% for board in boards %}
|
|
{% set i = i + 1 %}
|
|
<tr bgcolor="{{ getStyle(i) }}">
|
|
<td>
|
|
<a href="{{ board.link }}">{{ board.name }}</a><br /><small>{{ board.description }}</small>
|
|
</td>
|
|
<td>{{ board.posts }}</td>
|
|
<td>{{ board.threads }}</td>
|
|
<td>
|
|
{% if board.last_post.name is not null %}
|
|
{{ board.last_post.date|date("d.m.y H:i:s") }}<br/>by {{ board.last_post.player_link|raw }}
|
|
{% else %}
|
|
No posts
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table> |