[% FOREACH article = table.article.r %]
[% NEXT UNLESS article.root_id == 0 && article.parent_id == 0 %]
[% NEXT IF article_select && article_select != article.title %]
[% article.title %] |
[% FOREACH x = article.get_entry %]
[% INCLUDE "lib/page/_article.html"
article = x
shortform = 1
depth = 1
show_url = 1
%]
[% IF loop.index >= 4 && ! url.param.all %]
show all... |
[% LAST %]
[% END %]
[% END %]
[% IF global.ctlr.auth.authed_user.name == article.creator %]
add article... |
[% END %]
[% END %]