comparison s4-funcs.sh @ 562:3b5561ea2117

Ooops, file_accept pattern was wrong...
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 14 Apr 2019 15:33:21 +0900
parents 7e7b3b2822f6
children b87e1cbf3491
comparison
equal deleted inserted replaced
561:593e5ae3bd49 562:3b5561ea2117
31 maximagexy=1600x1600 31 maximagexy=1600x1600
32 ### maximagexy=400x400 32 ### maximagexy=400x400
33 filesize_max=$((5*1024*1024)) 33 filesize_max=$((5*1024*1024))
34 filesize_max_MB="$((filesize_max/1024/1024))MB" 34 filesize_max_MB="$((filesize_max/1024/1024))MB"
35 file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/pdf,application/x-*"' 35 file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/pdf,application/x-*"'
36 file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|zip||[xz]-))' 36 file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|zip|[xz]-))'
37 file_accept_help="添付可能ファイル: テキスト、画像、音声、動画、ODT、PDF、 37 file_accept_help="
38 添付可能ファイル: テキスト、画像、音声、動画、ODF、PDF、
38 圧縮ファイル、データベースファイル 39 圧縮ファイル、データベースファイル
39 (いずれも ${filesize_max_MB} 以内) 40 (いずれも ${filesize_max_MB} 以内)
40 " 41 "
41 file_warn="$file_accept_help 42 file_warn="$file_accept_help
42 [編集]リンクから修正してください。" 43 [編集]リンクから修正してください。"

yatex.org