s4
changeset 157:3b2963de55ce
#bottom link should appear whoever the author is
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 06 Jan 2016 23:10:52 +0859 |
parents | d46bce9072cd |
children | cad3915d4c74 |
files | s4-blog.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-blog.sh Wed Jan 06 23:07:05 2016 +0859 1.2 +++ b/s4-blog.sh Wed Jan 06 23:10:52 2016 +0859 1.3 @@ -285,7 +285,8 @@ 1.4 href4='<a href="#bottom"> 末尾へ</a>' 1.5 cat<<EOF | sq -html $db \ 1.6 | sed -e "s|\(<TR><TD>\),e,|\1 $href |" \ 1.7 - -e "s|,s,\(</TD>\)|$href2$href3$href4\1|" 1.8 + -e "s|,s,\(</TD>\)|$href2$href3\1|" \ 1.9 + -e "s|\(</TD\)>|$href4\1|" 1.10 -- select val from $ts where key="title" and id="$id"; 1.11 select 1.12 coalesce((select ",e," from blog where rowid=$rowid and author='$user'),'')