diff options
Diffstat (limited to 'apps/bridge/comments_list.tpl')
-rwxr-xr-x | apps/bridge/comments_list.tpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/bridge/comments_list.tpl b/apps/bridge/comments_list.tpl new file mode 100755 index 0000000..03e0ddc --- /dev/null +++ b/apps/bridge/comments_list.tpl @@ -0,0 +1,13 @@ +<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> +% } +% } + |