latest-news.adp

Delivered as text/html

Related Files

[ hide source ] | [ make this the default ]

File Contents

<if @news:rowcount;literal@ gt 0 or @show_empty_p;literal@ true>
    <if @class@ eq "portalElement">
        <h3><a href="@base_url@">News</a></h3>
    </if>
    <else>
        <h2><a href="@base_url@">Latest News</a></h2>
    </else>
    <if @news:rowcount;literal@ eq 0>
        <p>No recent news</p>
    </if><else>
    <multiple name="news">
    <if @class@ eq "portalElement">
        <h4><a href="@news.url@">@news.title@</a></h4>
    </if>
    <else>
        <h3><a href="@news.url@">@news.title@</a></h3>
    </else>

    <p>@news.lead@<br>@news.date@</p>
    </multiple>
    <p><a href="@base_url@">More news...</a></p>
    </else>
</if>