plan9fox/werc/apps/bridge/comments_list.tpl
2022-06-30 11:40:21 -04:00

13 lines
286 B
Smarty
Executable file

<hr>
<h2>Comments</h2>
% for(c in `{ls $comments_dir/}) {
% if(test -s $c/body) {
<div class="comment">
<h5>By: <i>%(`{cat $c/user}%)</i></b> (%(`{cat $c/posted}%))
</h5>
% cat $c/body | escape_html | sed 's,$,<br>,'
<hr></div>
% }
% }