s4
changeset 648:8ec02e0fd1d5
Allow gethandout even if blog is in frozen mode.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 08 May 2020 17:43:09 +0900 |
parents | a8a5e6437f1a |
children | 535d961e71c1 |
files | s4-blog.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/s4-blog.sh Fri May 08 17:08:49 2020 +0900 1.2 +++ b/s4-blog.sh Fri May 08 17:43:09 2020 +0900 1.3 @@ -200,9 +200,9 @@ 1.4 href2="<a href=\"?lshandout+$rowid\" accesskey=\"l\" title=\"L\"> 提出状況 </a>" 1.5 ;; 1.6 esac 1.7 - if $isgrpadmin || $isowner; then 1.8 + ### if $isgrpadmin || $isowner; then 1.9 href3="(<a href=\"?gethandout+$rowid\" accesskey=\"f\" title=\"F\">ファイル取得</a>)" 1.10 - fi 1.11 + ### fi 1.12 fi 1.13 href4='<a href="#bottom" accesskey="b" title="B"> 末尾へ</a>' 1.14 $isgrpadmin && 1.15 @@ -230,7 +230,7 @@ 1.16 if test -s $midfile && IFS='|' read edit ctime hexhead blogtype < $midfile 1.17 then 1.18 cat<<-EOF 1.19 - <tr><td>${edit:+$href }$ctime $blogtype $href2$href3 $href4 $href5</td></tr> 1.20 + <tr><td>${edit:+$href }$ctime $blogtype $href2${edit:+$href3} $href4 $href5</td></tr> 1.21 <tr class="preface${frozen_class:+ }$frozen_class"> 1.22 <td>`echo "$hexhead"|unhexize|htmlescape|hreflink|minitbl`</td></tr> 1.23 </table>