comparison s4-blog.sh @ 702:2c5ddb0b5f4c

Add more shortcuts and baloon help messages
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 22 May 2020 08:37:04 +0900
parents 4ebe5184a3e3
children e6f88f9e7dfd
comparison
equal deleted inserted replaced
701:fdd9c98f0888 702:2c5ddb0b5f4c
220 cat<<EOF 220 cat<<EOF
221 <form class="replyblog" action="$myname?replyblog+${rowid}#bottom" method="POST" enctype="multipart/form-data"> 221 <form class="replyblog" action="$myname?replyblog+${rowid}#bottom" method="POST" enctype="multipart/form-data">
222 <table class="bloghead"> 222 <table class="bloghead">
223 EOF 223 EOF
224 224
225 href="<a href=\"?editheading+$rowid\" accesskey=\"e\" title=\"E\"> 編集 </a>" 225 href="<a href=\"?editheading+$rowid\" accesskey=\"e\" title=\"Shortcut: E${nl}Edit\"> 編集 </a>"
226 if $ismem; then 226 if $ismem; then
227 case $blog_mode in 227 case $blog_mode in
228 *report*|*quiz*|*enquete*) 228 *report*|*quiz*|*enquete*)
229 href2="<a href=\"?lshandout+$rowid\" accesskey=\"l\" title=\"L\"> 提出状況 </a>" 229 href2="<a href=\"?lshandout+$rowid\" accesskey=\"l\" title=\"Shortcut: L${nl}List Handouts\"> 提出状況 </a>"
230 href3="(<a href=\"?gethandout+$rowid\" accesskey=\"f\" title=\"F\">ファイル取得</a>)" 230 href3="(<a href=\"?gethandout+$rowid\" accesskey=\"f\" title=\"Shortcut: F${nl}File Retrieval\">ファイル取得</a>)"
231 ;; 231 ;;
232 esac 232 esac
233 fi 233 fi
234 href4='<a href="#bottom" accesskey="b" title="B"> 末尾へ</a>' 234 href4="<a href=\"#bottom\" accesskey=\"b\" title=\"Shortcut: B${nl}to the Bottom\"> 末尾へ</a>"
235 $isgrpadmin && 235 $isgrpadmin &&
236 href5="<a href=\"?blogseen+$rowid\" accesskey=\"s\" title=\"S\"> 読刻</a>" 236 href5="<a href=\"?blogseen+$rowid\" accesskey=\"s\" title=\"Shortcut: S${nl}State of Accesses\"> 読刻</a>"
237 quizmodefile=$tmpd/quiz; rm -f "$quizmodefile" # XXX: Global state 237 quizmodefile=$tmpd/quiz; rm -f "$quizmodefile" # XXX: Global state
238 midfile=$tmpd/midfile 238 midfile=$tmpd/midfile
239 239
240 query<<-EOF > $midfile 240 query<<-EOF > $midfile
241 SELECT coalesce((SELECT "yes" FROM blog 241 SELECT coalesce((SELECT "yes" FROM blog

yatex.org