oc-server3/htdocs/templates2/ocstyle/res_rssparser.tpl
Nils Bohrs ed1a383ee6 added 404-errorpage including template and image, changed some variables
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
2013-04-25 23:38:25 +02:00

24 lines
694 B
Smarty
Executable File

<div class="buffer" style="width: 500px;height: 2px;">&nbsp;</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;">&emsp;[<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>