werc-1.5.0-tweaks/apps/bridge/comments_list.tpl

18 lines
325 B
Smarty
Raw Permalink Normal View History

<hr>
<h2>Comments</h2>
% for(c in `{ls $comments_dir/}) {
% if(test -s $c/body) {
<div class="comment">
2022-03-10 07:56:58 +00:00
<h5>By:
<b><i>%
(`{cat $c/user | sed 's/:.*//g'}%)
</i></b>
(%(`{cat $c/posted}%))
</h5>
% cat $c/body | escape_html | sed 's,$,<br>,'
<hr></div>
% }
% }