All pastes #298323 Raw Edit

Auto-Random

public text v1 · immutable
#298323 ·published 2006-12-31 20:55 UTC
rendered paste body
<xar:if condition="!empty($altsummary)">
    <p>
        #$altsummary#
    </p>
</xar:if>

<xar:foreach in="$items" value="$item">

    <xar:if condition="!empty($showtitle)">

        <xar:if condition="isset($linkpubtype)">
            <a href="#xarModURL('articles', 'user', 'display', array('aid' => $item['aid'], 'itemtype' => $item['pubtypeid']))#">#$item['title']#</a>
        <xar:else />
            <a href="#xarModURL('articles', 'user', 'display', array('aid' => $item['aid']))#">#$item['title']#</a>
        </xar:if>


HERE

    </xar:if>
    <xar:if condition="!empty($showsummary) and !empty($item['summary'])">
        <p>
            #$item['summary']#
        </p>
    </xar:if>
    <xar:if condition="!empty($showauthor)">
        <p>
            #$item['authorname']#
        </p>
    </xar:if>
    <xar:if condition="!empty($showpubdate)">
        <p>
            #xarLocaleGetFormattedDate('medium',$item['pubdate'])#
        </p>
    </xar:if>
</xar:foreach>

<xar:if condition="!empty($showsubmit)">
    <div>
        <a href="#xarModURL('articles', 'admin', 'new', array('ptid' => $pubtypeid))#"><xar:mlstring>Submit new</xar:mlstring></a>
    </div>
</xar:if>

<xar:comment> DD are configurable in block configuration</xar:comment>