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

* moved online, movies, google_analytics code, faq, experience_table, downloads to twig * added new global variabl to twig (status) * removed some unused page (custom.php) * automatically append trailing slash at config.item_images_url * moved downloads from clients.halfaway.net to tibia-clients.com * show some more info on monster loot (currently only on TFS 0.3 and those that use item.id in monster files instead of item name) * some more unimportant fixes
23 lines
882 B
Twig
23 lines
882 B
Twig
<div class="NewsHeadline">
|
|
<div class="NewsHeadlineBackground" style="background-image:url({{ template_path }}/images/news/newsheadline_background.gif)">
|
|
<img src="{{ template_path }}/images/news/icon_{{ icon }}.gif" class="NewsHeadlineIcon" />
|
|
<div class="NewsHeadlineDate">{{ date|date(config.news_date_format) }} - </div>
|
|
<div class="NewsHeadlineText">{{ title }}</div>
|
|
{% if author is not empty %}
|
|
<div class="NewsHeadlineAuthor"><b>Author: </b><i>{{ author }}</i></div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<table style="clear:both" border=0 cellpadding=0 cellspacing=0 width="100%" >
|
|
<tr>
|
|
<td style="padding-left:10px;padding-right:10px;" >{{ content|raw }}</td>
|
|
</tr>
|
|
{% if comments is not null %}
|
|
<tr>
|
|
<td>
|
|
<div style="text-align: right; margin-right: 10px;"><a href="{{ comments }}">» Comment on this news</a></div>
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
</table>
|
|
<br/> |