diff s4-funcs.sh @ 200:ffc676bd8277

Protect div.dumptable from div.fold
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 24 Apr 2016 17:12:31 +0859
parents 146f12edc26b
children c120ade0c9c3
line wrap: on
line diff
--- a/s4-funcs.sh	Sun Apr 24 17:12:13 2016 +0859
+++ b/s4-funcs.sh	Sun Apr 24 17:12:31 2016 +0859
@@ -1466,7 +1466,7 @@
      ) m
      ON b.id=m.blogid;"
     cat<<-EOF
-	<div class="fold dumptable">
+	<div class="fold">
 	`cgi_checkbox mrd yes id="mre"`<label for="mre">
 	最近書き込んだ場所一覧</label>
 	`DT_VIEW=replyblog dumptable html blog`
@@ -2220,11 +2220,13 @@
  from ${2}_s c group by $pk) b on a.$pk=b.$pk $4;"}
   err SQL=`echo "$sql"`
   cat<<EOF | sed "s,\(<TR><TD>\)\([1-9][0-9]*\)</TD>,\1$elink$dvlink</TD>,"
+<div> <!-- for folding by check button (s4-funcs.sh:dumptable()) -->
 <div class="dumptable">
 <table class="b$dt_class">
 `sq -header -cmd ".mode $1" $db "$sql"`
 </table>
 </div> <!-- dumptable -->
+</div> <!-- for folding by check button (s4-funcs.sh:dumptable()) -->
 EOF
 }
 

yatex.org