mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00

* (internal) moved news tickers to twig template * (internal) moved Forum class to separate file * (internal) moved deprecated functions to compat.php
15 lines
464 B
Twig
15 lines
464 B
Twig
<table style="width: 100%">
|
|
<tr class="white" bgcolor="{{ config.vdarkborder }}">
|
|
<td colspan="3">Tickers</td>
|
|
</tr>
|
|
{% set i = 0 %}
|
|
{% for ticker in tickers %}
|
|
<tr bgcolor="{{ getStyle(i) }}">
|
|
<td style="width: 16px;"><img src="{{ template_path }}/images/news/icon_{{ ticker.icon }}_small.gif"/></td>
|
|
<td style="width: 80px;">{{ ticker.date|date("j M Y") }}</td>
|
|
<td>{{ ticker.body|raw }}</td>
|
|
</tr>
|
|
{% set i = i + 1 %}
|
|
{% endfor %}
|
|
</table>
|
|
<br/> |