Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/s4-blog.sh Sat Apr 13 19:02:21 2019 +0900 +++ b/s4-blog.sh Sat Apr 13 19:36:47 2019 +0900 @@ -303,9 +303,7 @@ editlink="${edit:+<a href="$elink+$edit">編集</a> }" nt="<label style=\"font-size: 70%;\"><input type=\"checkbox\"\ name=\"notifyto\" value=\"$uid\">返信通知送信</label>" - # Compute file accessibility of attached file - err "----r=$aid fa=[$fa]----" - + # fa is file accessibility flag # err "----r=$aid fa=[$fa]----" # First, check the availability of user-icon. # If not existent, clear and reset row cache by rm $stampfile @@ -394,7 +392,7 @@ sed -e "/^<td class=/s/__NEWCLS__/$new${new:+ }/" \ -e "/^<td class=/s,__EDIT__,$editlink," \ -e "/^<__NOTIFY__>/s,,${notify:+$nt}," \ - -e "/^<__UNREADABLE__>/s,,${fa:+$cannotread}," \ + -e "/<__UNREADABLE__>/s,,${fa:+$cannotread}," \ $cachefile done