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 diff
     1.1 --- a/s4-blog.sh	Sat Oct 22 00:08:49 2016 +0859
     1.2 +++ b/s4-blog.sh	Sat Oct 22 00:15:09 2016 +0859
     1.3 @@ -100,10 +100,10 @@
     1.4      *)		notifyto="" ;;
     1.5    esac
     1.6  
     1.7 -  err "SELECT id from $tbl where rowid=$rowid"
     1.8 +  # err "SELECT id from $tbl where rowid=$rowid"
     1.9    id=`query "select id from $tbl where rowid=$rowid;"`
    1.10 -err id=$id
    1.11 -err "select val from $ts where key='title' and id='$id';"
    1.12 +  #err id=$id
    1.13 +  #err "select val from $ts where key='title' and id='$id';"
    1.14  
    1.15  
    1.16    #(1)Display root article
    1.17 @@ -278,7 +278,8 @@
    1.18    cat<<-EOF
    1.19  	</table> <!-- end of s4-blog:blog_showentry() main table -->
    1.20  	<p class="update_link"><a
    1.21 -	 href="?reload/$rowid">再読込</a></p>
    1.22 +	 href="?reload/$rowid">再読込</a> / <a
    1.23 +	 href="#title">先頭へ</a></p>
    1.24  	EOF
    1.25    query<<-EOF
    1.26  	WITH mrt AS (