changeset 390:5a40f38d7daf

Do not forget link to home
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 28 Nov 2016 19:04:20 +0859
parents 3074b635687a
children 554dc6669027
files s4-funcs.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Mon Nov 28 18:56:36 2016 +0859
+++ b/s4-funcs.sh	Mon Nov 28 19:04:20 2016 +0859
@@ -2039,7 +2039,9 @@
       img=`query "SELECT type FROM ${tbl}_m WHERE $cond AND key='profimg' LIMIT 1;"`
       # err "img=[$img]"
       if [ -n "$img" ]; then
+	echo "<a href=\"$hrb+$lnk\">"
 	imgsrc_cache "$dir/list" ${tbl}_m "$nm=$qname" S
+	echo "</a>"
       else
 	iconhref2 "$dir/$deficon" "$hrb+$lnk" "$gecos"
       fi

yatex.org