s4

changeset 158:cad3915d4c74

Add mark of #bottom link position
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 06 Jan 2016 23:17:11 +0859
parents 3b2963de55ce
children 9402a36126c5
files s4-blog.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Wed Jan 06 23:10:52 2016 +0859
     1.2 +++ b/s4-blog.sh	Wed Jan 06 23:17:11 2016 +0859
     1.3 @@ -286,7 +286,7 @@
     1.4    cat<<EOF | sq -html $db \
     1.5        | sed -e "s|\(<TR><TD>\),e,|\1 $href |" \
     1.6  	    -e "s|,s,\(</TD>\)|$href2$href3\1|" \
     1.7 -	    -e "s|\(</TD\)>|$href4\1|"
     1.8 +	    -e "s|,t,\(</TD\)>|$href4\1|"
     1.9  -- select val from $ts where key="title" and id="$id";
    1.10  select
    1.11   coalesce((select ",e," from blog where rowid=$rowid and author='$user'),'')
    1.12 @@ -295,7 +295,7 @@
    1.13    when 'report-closed' then "レポート提出用(自身のファイルのみ参照可),s,"
    1.14    when 'report-open' then "レポート提出用,s,"
    1.15    else ""
    1.16 -  end
    1.17 +  end || ',t,'
    1.18   from $ts where key="ctime" and id="$id";
    1.19  select val from $ts where key="heading" and id="$id";
    1.20  EOF