changeset 239:25e0b1eaf04d

Degrade fixed: Explicit notify works again.
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 30 Jun 2016 12:41:10 +0859
parents 45b7facac49e
children 3ba9493977e1
files s4-blog.sh
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-blog.sh	Mon Jun 27 11:01:35 2016 +0859
+++ b/s4-blog.sh	Thu Jun 30 12:41:10 2016 +0859
@@ -107,6 +107,7 @@
 
   #(1)Display root article
   cat<<EOF
+<form class="replyblog" action="$myname?replyblog+${rowid}#bottom" method="POST" enctype="multipart/form-data">
 <table class="bloghead">
 EOF
 
@@ -257,12 +258,21 @@
 <input type="reset" value="リセット"></div></div>
 '
   cat<<-EOF
-	</table>
+	</table> <!-- end of s4-blog:blog_showentry() main table -->
 	<p class="update_link"><a
 	 href="?reload/$rowid">再読込</a></p>
 	EOF
   $iswritable && cat<<-EOF
 	<div class="blogcomment">
+	<input type="hidden" name="blogid" value="$id">
+	<input type="hidden" name="stage" value="replyblog">
+	$textform
+	</div>
+	</form> <!-- End of s4-blog:blog_showentry() main form -->
+	<p id="bottom"> </p>
+	EOF
+  : <<-EOF
+	<div class="blogcomment">
 	<div class="fold">
 	<input type="checkbox" id="cmt" checked><label for="cmt"
 	>コメントする</label>

yatex.org