s4

changeset 227:ce24afbd3139

Team-removal control should obey $myhexteams.
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 20 Jun 2016 08:01:23 +0859
parents 0381b7abe4a3
children ab1693ac909a
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Mon Jun 20 00:12:56 2016 +0859
     1.2 +++ b/s4-funcs.sh	Mon Jun 20 08:01:23 2016 +0859
     1.3 @@ -1993,7 +1993,7 @@
     1.4    # Get team list to which current user belongs into $hexteams
     1.5    myhexteams=$(hexteams "$grp" "$user")
     1.6    allhexteams=$(hexteams "$grp")
     1.7 -  if [ -n "$hexteams" ]; then
     1.8 +  if [ -n "$myhexteams" ]; then
     1.9      rmteam="<div class=\"fold\">
    1.10  `cgi_radio rm rmteam 'id=\"cmrmteam\"'`<label
    1.11  for=\"cmrmteam\">下でチェックした人からチーム属性を除去する</label>