From 15d1844c88b1b8a0fc6a18d4a6d06c4ee77c50c6 Mon Sep 17 00:00:00 2001 From: Daniel Lerch Date: Mon, 27 Jul 2020 23:27:15 +0200 Subject: [PATCH] Improve format of people changes summary --- inc/front_modules.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/front_modules.inc b/inc/front_modules.inc index 81eae02..e732e44 100644 --- a/inc/front_modules.inc +++ b/inc/front_modules.inc @@ -3,6 +3,7 @@ * Copyright notice * * (c) 2003-2017 Renzo Lauper (renzo@churchtool.org) +* (c) 2019-2020 Daniel Lerch * All rights reserved * * This script is part of the kOOL project. The kOOL project is @@ -928,7 +929,8 @@ function ko_fm_today($uid, $pos) { } if(!$foundChanges) continue; } else { //..else show all changes - $tpl_person[$p_counter]['log'] = '
'.ko_html(substr($log['comment'], strpos($log['comment'], ':')+2)); + $comment_changes = str_replace('-->', '»', substr($log['comment'], strpos($log['comment'], ':')+2)); + $tpl_person[$p_counter]['log'] = '
'.ko_html(stripcslashes($comment_changes)); } $tpl_person[$p_counter]['user'] = $logins[$log['user_id']]['login'];