s4
changeset 775:2c5a8c5dd1ee
Fix sending message of joingrp()
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 11 Jun 2020 10:35:19 +0900 |
parents | 8a7d5326055d |
children | d773042e923d e9e86a1fc1f3 |
files | s4-funcs.sh |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Thu Jun 11 10:18:36 2020 +0900 1.2 +++ b/s4-funcs.sh Thu Jun 11 10:35:19 2020 +0900 1.3 @@ -3296,14 +3296,13 @@ 1.4 gid=$(query "select rowid from grp where gname=`sqlquote \"$t_grp\"`;") 1.5 rcpts="`getgroupadminmails "$t_grp"` $user" 1.6 ## err admit: msgdir=$msgdir, rcpts="["$rcpts"]" 1.7 - body="グループ <a href=\"?grp+$gid\">$t_grp</a> 1.8 -に 1.9 + body="に 1.10 $t_usr 1.11 `[ x$1 = xyes ] && echo 'を追加' || echo 'の解除操作を'` 1.12 しました。" 1.13 - (echo "$body"; echo; echo "$url?grp+$gid") | smail "$rcpts" "joingrp $1" 1.14 + echo "$t_grp$nl$body$nl$nl$url?grp+$gid" | smail "$rcpts" "joingrp $1" 1.15 query "delete from session where id='$2';" 1.16 - echo "$body" | html p 1.17 + echo "グループ <a href=\"?grp+$gid\">$t_grp</a>$nl$body" | html p 1.18 } 1.19 1.20 joingrprequest() {