* moved account.create and news.archive to twig

* added new configurable date_timezone
This commit is contained in:
slawkens
2017-09-13 14:32:50 +02:00
parent 2c5b3f4da3
commit 3a6aab67d5
7 changed files with 351 additions and 318 deletions

View File

@@ -0,0 +1,21 @@
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td colspan="3" class="white"><b>News archive</b></td>
</tr>
{% set i = 0 %}
{% for news in newses %}
{% set i = i + 1 %}
<tr bgcolor="{{ getStyle(i) }}">
<td width=4%>
<center>
<img src="{{ template_path }}/images/news/icon_{{ news.icon_id }}_small.gif"/>
</center>
</td>
<td>{{ news.date|date('j.n.Y') }}</td>
<td>
<b><a href="{{ news.link }}">{{ news.title }}</a></b>
</td>
</tr>
{% endfor %}
</table>