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 wrap: on
line diff
--- a/s4-blog.sh	Wed Jan 06 23:10:52 2016 +0859
+++ b/s4-blog.sh	Wed Jan 06 23:17:11 2016 +0859
@@ -286,7 +286,7 @@
   cat<<EOF | sq -html $db \
       | sed -e "s|\(<TR><TD>\),e,|\1 $href |" \
 	    -e "s|,s,\(</TD>\)|$href2$href3\1|" \
-	    -e "s|\(</TD\)>|$href4\1|"
+	    -e "s|,t,\(</TD\)>|$href4\1|"
 -- select val from $ts where key="title" and id="$id";
 select
  coalesce((select ",e," from blog where rowid=$rowid and author='$user'),'')
@@ -295,7 +295,7 @@
   when 'report-closed' then "レポート提出用(自身のファイルのみ参照可),s,"
   when 'report-open' then "レポート提出用,s,"
   else ""
-  end
+  end || ',t,'
  from $ts where key="ctime" and id="$id";
 select val from $ts where key="heading" and id="$id";
 EOF

yatex.org