s4

diff s4-blog.sh @ 545:7cd9e895fa09

Supply usage when no argument supplied
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 06 Apr 2019 20:05:35 +0900
parents 2a70b6c7ffad
children 591838015ac3
line diff
     1.1 --- a/s4-blog.sh	Thu Mar 14 12:48:07 2019 +0900
     1.2 +++ b/s4-blog.sh	Sat Apr 06 20:05:35 2019 +0900
     1.3 @@ -397,14 +397,16 @@
     1.4  ' *語群* ' で強調(両側の空白必要、** でもっと強調。*の代わりに _ でも可)
     1.5  - [ ] と - [x] でチェックボックス"
     1.6    touchhelp="${touchpanel:+<p class=\"help\">$help</p>}"
     1.7 +  filehelp="《添付の注意》
     1.8 +$file_accept_help"
     1.9    textform='<div class="fold">
    1.10  <input type="checkbox" id="cmt" checked><label
    1.11   accesskey="c" title="C" for="cmt">コメントする</label><div>
    1.12  <table class="b">
    1.13  <tr><td><textarea name="text" cols="72" rows="4" title="'"$help"'">
    1.14 -</textarea>'"$touchhelp"'</td></tr>
    1.15 -<tr><td>添付ファイル:
    1.16 -<input type="file" name="image"'" $file_accept multiple></td></tr>"'
    1.17 +</textarea>'"$touchhelp</td></tr>
    1.18 +<tr><td>添付ファイル(${filesize_max_MB}以下):"'
    1.19 +<input type="file" name="image"'" $file_accept title=\"$filehelp\" multiple></td></tr>"'
    1.20  </table>
    1.21  <input type="submit" value="送信">
    1.22  <input type="reset" value="リセット"></div></div>