s4
changeset 133:d5afe98a8b58
debug-off in blog_showentry
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 25 Aug 2015 22:36:59 +0859 |
parents | 7a9cd078bf6a |
children | 12c3f2e334a1 |
files | s4-blog.sh |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line diff
1.1 --- a/s4-blog.sh Sun Aug 23 06:27:51 2015 +0859 1.2 +++ b/s4-blog.sh Tue Aug 25 22:36:59 2015 +0859 1.3 @@ -142,10 +142,10 @@ 1.4 hrefhome0="<a href=\"?home" 1.5 for a in $arts; do 1.6 arid=${a%%\|*} aid=`echo "$a"|cut -d'|' -f2` author=${a##*\|} imgs="" 1.7 - err a=$a, aid=$aid, author=$author 1.8 - err td=$td 1.9 + ## err a=$a, aid=$aid, author=$author 1.10 + ## err td=$td 1.11 val=`getvalbyid article image "$arid" "$td"` 1.12 - err val="[$val]" and td as follows: 1.13 + ## err val="[$val]" and td as follows: 1.14 1.15 if [ -n "$val" ]; then 1.16 hrfb="$myname?showattc+article_m" 1.17 @@ -156,8 +156,8 @@ 1.18 #ct=`cat $td/$fn.content-type` 1.19 sz=`cat $td/$fn.size` 1.20 ri=`cat $td/$fn.rowid` 1.21 - err fn=$fn ct=$ct ri=$ri ls::: "`ls -lF $td/`" 1.22 - iconhref $td/$fn "$hrfb+$ri" "$fn" "$fn($sz)" 1.23 + ## err fn=$fn ct=$ct ri=$ri ls::: "`ls -lF $td/`" 1.24 + iconhref2 $td/$fn "$hrfb+$ri" "$fn" "$fn($sz)" 1.25 done) 1.26 imgs=`echo "$imgs"|tr -d '\n'` # kill newlines for sed 1.27 fi