in templates and pulled parts out in new templates, fixed some bugs and typos from previous commits moved new events, ratings and caches HTML code generation into separate templates and changed templates accordingly to avoid redundant code moved generation of HTML code for RSSParser into separate smarty template and changed involved files accordingly moved code that generates the "new" (cache, event, rating, forum, blog, etc.) sections into separate class to avoid redundant code
24 lines
694 B
Smarty
Executable File
24 lines
694 B
Smarty
Executable File
<div class="buffer" style="width: 500px;height: 2px;"> </div>
|
|
<div class="newsblock">
|
|
{if !$includetext}
|
|
<table class='narrowtable' style='margin-top:0'>
|
|
{/if}
|
|
|
|
{foreach name=rss from=$rss item=rss}
|
|
{if $includetext}
|
|
<p class="content-title-noshade-size15" style="display: inline;">{$rss.pubDate} - {$rss.title}</p>
|
|
<p style="line-height: 1.6em;display: inline;"> [<b><a class="link" href="{$rss.link}">mehr...</a></b>]</p>
|
|
<div class="rsstext">{$rss.description}</div>
|
|
{else}
|
|
<tr>
|
|
<td style="text-align:right">{$rss.pubDate}</td>
|
|
<td><a class="links" href="{$rss.link}">{$rss.title}</a></td>
|
|
</tr>
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
{if !$includetext}
|
|
</table>
|
|
{/if}
|
|
</div> |