summaryrefslogtreecommitdiff
path: root/apps/bridge/comments_list.tpl
diff options
context:
space:
mode:
authorglenda <glenda@9front.local>2020-11-15 15:13:27 +0000
committerglenda <glenda@9front.local>2020-11-15 15:13:27 +0000
commit39318169e0b50551db511851829f9337c5fa6313 (patch)
tree65a0ef5c1da9677532fa8105293d017919473057 /apps/bridge/comments_list.tpl
Import site to git
Diffstat (limited to 'apps/bridge/comments_list.tpl')
-rwxr-xr-xapps/bridge/comments_list.tpl13
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>
+% }
+% }
+