Mercurial > hgrepos > hgweb.cgi > s4
changeset 412:a765ed027dbd
Message for replymark should be the names of reply recipients
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 10 Feb 2017 20:39:20 +0859 |
parents | e30fe590a53e |
children | 933df1a150e0 |
files | s4-blog.sh |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-blog.sh Fri Feb 10 12:22:09 2017 +0859 +++ b/s4-blog.sh Fri Feb 10 20:39:20 2017 +0859 @@ -70,7 +70,11 @@ AND blogid=(SELECT id FROM blog WHERE rowid=$blogid);"` if [ -n "$unames" ]; then emails=$emails" `email4group \"$blogowner\" $unames`" - action="あなたへの返信" + for e in $unames; do + g=`gecos $e` + whom=$whom",${g:-$e}さん" + done + action="${whom}への返信" fi fi test -z "$emails" && return