Mercurial > hgrepos > hgweb.cgi > s4
changeset 335:a120ba2d719b
Show link to the beginning of page at the bottom of page.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 22 Oct 2016 00:15:09 +0859 |
parents | 64eabfa2e69f |
children | 08165f6b7828 |
files | s4-blog.sh |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-blog.sh Sat Oct 22 00:08:49 2016 +0859 +++ b/s4-blog.sh Sat Oct 22 00:15:09 2016 +0859 @@ -100,10 +100,10 @@ *) notifyto="" ;; esac - err "SELECT id from $tbl where rowid=$rowid" + # err "SELECT id from $tbl where rowid=$rowid" id=`query "select id from $tbl where rowid=$rowid;"` -err id=$id -err "select val from $ts where key='title' and id='$id';" + #err id=$id + #err "select val from $ts where key='title' and id='$id';" #(1)Display root article @@ -278,7 +278,8 @@ cat<<-EOF </table> <!-- end of s4-blog:blog_showentry() main table --> <p class="update_link"><a - href="?reload/$rowid">再読込</a></p> + href="?reload/$rowid">再読込</a> / <a + href="#title">先頭へ</a></p> EOF query<<-EOF WITH mrt AS (