diff s4-blog.sh @ 513:3fcaea2892a8

File accept warnings added
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 02 Apr 2019 17:34:31 +0900
parents 2a70b6c7ffad
children 591838015ac3
line wrap: on
line diff
--- a/s4-blog.sh	Thu Mar 14 16:23:50 2019 +0900
+++ b/s4-blog.sh	Tue Apr 02 17:34:31 2019 +0900
@@ -397,14 +397,16 @@
 ' *語群* ' で強調(両側の空白必要、** でもっと強調。*の代わりに _ でも可)
 - [ ] と - [x] でチェックボックス"
   touchhelp="${touchpanel:+<p class=\"help\">$help</p>}"
+  filehelp="《添付の注意》
+$file_accept_help"
   textform='<div class="fold">
 <input type="checkbox" id="cmt" checked><label
  accesskey="c" title="C" for="cmt">コメントする</label><div>
 <table class="b">
 <tr><td><textarea name="text" cols="72" rows="4" title="'"$help"'">
-</textarea>'"$touchhelp"'</td></tr>
-<tr><td>添付ファイル:
-<input type="file" name="image"'" $file_accept multiple></td></tr>"'
+</textarea>'"$touchhelp</td></tr>
+<tr><td>添付ファイル(${filesize_max_MB}以下):"'
+<input type="file" name="image"'" $file_accept title=\"$filehelp\" multiple></td></tr>"'
 </table>
 <input type="submit" value="送信">
 <input type="reset" value="リセット"></div></div>

yatex.org