mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 20:43:26 +02:00
* moved account.create and news.archive to twig
* added new configurable date_timezone
This commit is contained in:
21
system/templates/news.archive.html.twig
Normal file
21
system/templates/news.archive.html.twig
Normal 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>
|
Reference in New Issue
Block a user