s4
changeset 926:ef84fef0cec8
(grpaction) Put submit button next to input field
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 15 Jan 2021 10:31:54 +0900 |
parents | 713441f69ab8 |
children | de4a34a2057c |
files | s4-funcs.sh |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Fri Jan 15 07:29:25 2021 +0900 1.2 +++ b/s4-funcs.sh Fri Jan 15 10:31:54 2021 +0900 1.3 @@ -3176,6 +3176,7 @@ 1.4 <p>この操作による通知は本人に行きません。 1.5 あらかじめ通知するか、登録解除してよい状況かしっかり確認してください。</p> 1.6 </div>" 1.7 + submitBTN=`cgi_submit 送信` 1.8 # Get team list to which current user belongs into $hexteams 1.9 allhexteams=$(hexteams "$grp") 1.10 if [ -n "$isowner" ]; then 1.11 @@ -3191,7 +3192,7 @@ 1.12 title=\"Shortcut: s${nl}Strip a team tag from\" 1.13 for=\"cmrmteam\">チーム属性除去</label> 1.14 <div>チーム属性:`cgi_select_h rmteam \"2d2d2d\" $myhexteams` 1.15 -を除去します: `cgi_checkbox teamconfirm yes` 確認 1.16 +を除去します: `cgi_checkbox teamconfirm yes` 確認 $submitBTN 1.17 <p>この操作による通知は本人に行きません。 1.18 あらかじめ通知するか、登録解除してよい状況かしっかり確認してください。</p> 1.19 </div><!-- end of $rmteammsg --> 1.20 @@ -3206,7 +3207,6 @@ 1.21 # | sed -e "s|^\(<TR><TD>\)k\([0-9]*\),\([^<]*\)|\1$ba\2$b2\3$b3|" \ 1.22 # -e "s|^\(<TR><TD>\)\([0-9]*\),\([^<]*\)|\1$b1\2$b2\3$b3|" \ 1.23 lnk='"> <span>\5</span></label> [<a href="?home+\3">HOME</a>]' 1.24 -#-e "s|^\(<TR><TD>\)k\([0-9]*\),\([^<]*\)|\1$ba\2$lnk|" \ 1.25 cgi_form grpaction<<EOF \ 1.26 | sed -E \ 1.27 -e "s|^(<TR><TD)>(k?)([0-9]*),([^,]+),([^<]*)|\1 title=\"\4\">\2$b1\3$lnk|" \ 1.28 @@ -3223,7 +3223,7 @@ 1.29 title="Shortcut: a${nl}Add a team tag to" 1.30 for="cmteam">同じチーム属性を付与</label> 1.31 <div>チーム名:`cgi_text team "" 'id="inteam" list="teams"'` 1.32 -`cgi_datalist_h teams $allhexteams` 1.33 +`cgi_datalist_h teams $allhexteams`$submitBTN 1.34 </div> 1.35 ${rmteammsg} 1.36 `cgi_radio rm send id="sendmsg"`<label accesskey="d" 1.37 @@ -3243,7 +3243,7 @@ 1.38 <tr><td>ファイル添付: </td> 1.39 <td>`cgi_file image "" "multiple $file_accept title=\"$file_accept_help\""`<br><small>文書ファイルはPDFに変換してから</small></td></tr> 1.40 </table> 1.41 -<p>(下記一覧から1人以上選択していない場合は送れません`cgi_submit 送信`)</p> 1.42 +<p>(下記一覧から1人以上選択していない場合は送れません$submitBTN)</p> 1.43 </div> 1.44 <div>本文:`cgi_textarea text "" cols=72` 1.45 </div>