s4

changeset 559:2f580c147434

File accessibility flag behavior corrected
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 13 Apr 2019 19:36:47 +0900
parents 6f75af2ad877
children 1d0344a5f5aa
files s4-blog.sh
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Sat Apr 13 19:02:21 2019 +0900
     1.2 +++ b/s4-blog.sh	Sat Apr 13 19:36:47 2019 +0900
     1.3 @@ -303,9 +303,7 @@
     1.4      editlink="${edit:+<a href="$elink+$edit">編集</a> }"
     1.5      nt="<label style=\"font-size: 70%;\"><input type=\"checkbox\"\
     1.6  	 name=\"notifyto\" value=\"$uid\">返信通知送信</label>"
     1.7 -  # Compute file accessibility of attached file
     1.8 -  err "----r=$aid fa=[$fa]----"
     1.9 -
    1.10 +    # fa is file accessibility flag # err "----r=$aid fa=[$fa]----"
    1.11  
    1.12      # First, check the availability of user-icon.
    1.13      # If not existent, clear and reset row cache by rm $stampfile
    1.14 @@ -394,7 +392,7 @@
    1.15      sed -e "/^<td class=/s/__NEWCLS__/$new${new:+ }/" \
    1.16  	-e "/^<td class=/s,__EDIT__,$editlink," \
    1.17  	-e "/^<__NOTIFY__>/s,,${notify:+$nt}," \
    1.18 -	-e "/^<__UNREADABLE__>/s,,${fa:+$cannotread}," \
    1.19 +	-e "/<__UNREADABLE__>/s,,${fa:+$cannotread}," \
    1.20  	$cachefile
    1.21    done
    1.22