werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

commit 223696b019180c22f348877401f0f99cbb029291
parent c3d9d4493ea82b870c4234cecdea65fabd2856a7
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Thu, 10 Mar 2022 07:56:58 +0000

fix: don't show user password

Diffstat:
Mapps/bridge/comments_list.tpl | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/apps/bridge/comments_list.tpl b/apps/bridge/comments_list.tpl @@ -4,8 +4,12 @@ % 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> + <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> % }