s4
changeset 826:f2d69fb3e038
Link to group list in other world with kwd
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 21 Jun 2020 10:08:12 +0900 |
parents | e9817a71f332 |
children | 97be0474f268 |
files | s4-world.sh |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/s4-world.sh Sun Jun 21 09:50:32 2020 +0900 1.2 +++ b/s4-world.sh Sun Jun 21 10:08:12 2020 +0900 1.3 @@ -203,9 +203,11 @@ 1.4 read ans 1.5 if [ -n "$ans" ]; then 1.6 w=`echo $wname|htmlescape` 1.7 + u="<a href=\"$cgi?grps\"><span class=\"pre\">$w</span></a>" 1.8 + s="(<a href=\"$cgi?stage=grps&kwd=$kwd\">絞込</a>)" 1.9 cat<<-EOF 1.10 <tr> 1.11 - <tr><td><a href="$cgi?grps"><span class="pre">$w</span></a></td> 1.12 + <tr><td>$u $s</td> 1.13 <td>$ans</td> 1.14 </dl> 1.15 EOF 1.16 @@ -227,7 +229,7 @@ 1.17 worldname=${wd%:*} 1.18 d=${wd#*:} 1.19 if [ ! $db -ef $d -a -s $d ]; then 1.20 - grepgrpworld "$world" "$worldname" "$1" "$d" "$cond" 1.21 + grepgrpworld "$world" "$worldname" "$arg" "$d" "$cond" 1.22 fi 1.23 done | { 1.24 result=`cat`