Mercurial > hgrepos > hgweb.cgi > s4
diff s4-blog.sh @ 837:a6462eea48be
Multiple files upload for tablets added and file renaming fixed
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 25 Jun 2020 15:50:16 +0900 |
parents | ab6bb3efd40e |
children | 985ee9a09783 |
line wrap: on
line diff
--- a/s4-blog.sh Tue Jun 23 12:58:31 2020 +0900 +++ b/s4-blog.sh Thu Jun 25 15:50:16 2020 +0900 @@ -565,18 +565,21 @@ filehelp="《添付の注意》 $file_accept_help" ntmode="通知モード=$blog_notify${blog_team:+ (team=$blog_team)}" - textform='<div class="fold"> + textform=$(cat<<-EOF +<div class="fold"> <input type="checkbox" id="cmt" checked><label accesskey="c" title="C" for="cmt">コメントする</label><div> <table class="b"> -<tr><td><textarea id="text" name="text" cols="72" rows="4" title="'"$help"'"> -</textarea>'"$touchhelp</td></tr> -<tr><td>添付ファイル(${filesize_max_MB}以下):"' -<input type="file" name="image"'" $file_accept title=\"$filehelp\" multiple></td></tr>"' +<tr><td><textarea id="text" name="text" cols="72" rows="4" title="$help"> +</textarea>$touchhelp</td></tr> +<tr><td>添付ファイル(${filesize_max_MB}以下): +`cgi_file image "" "$file_accept title=\"$filehelp\" multiple"` +</td></tr> </table> -<input type="submit" value="送信"'" class=\"$blog_notify\" title=\"$ntmode\""'> +<input type="submit" value="送信" class="$blog_notify" title="$ntmode"> <input type="reset" value="リセット"></div></div> -' +EOF + ) cat<<-EOF </table> <!-- end of s4-blog:blog_showentry() main table --> <p class="update_link"><a