|
From: mdw c. <myd...@li...> - 2002-02-19 09:29:08
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs
Modified Files:
comment.php
Log Message:
It was bugging under non Mozilla browser such as IE
Now its ok
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/comment.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- comment.php 19 Feb 2002 00:33:15 -0000 1.14
+++ comment.php 19 Feb 2002 09:29:07 -0000 1.15
@@ -67,14 +67,21 @@
$get_parents = $msg_infos[1];
$get_children = $msg_infos[2];
+$PAGE .= "<table width='100%'>";
+
if (sizeof($get_parents)) {
- $PAGE .= "<br><b>$num_comments " . translate("COMMENTS", $DBH). " : </b><br><br>";
+ $PAGE .= "<tr><td><b>$num_comments " . translate("COMMENTS", $DBH). " : </b></td></tr>";
}
// Step 2 : print out the threads
-foreach ($get_parents as $thread) {
- $PAGE .= print_message($thread, 0, $get_message, $get_children);
+if ($num_comments) {
+ foreach ($get_parents as $thread) {
+ $PAGE .= print_message($thread, 0, $get_message, $get_children);
+ }
}
+
+$PAGE .= "</table>";
+
////////////////////////////////////////////////////////////////////////
@@ -104,7 +111,7 @@
$get_message[$num_cmt]['SIZE'] -= 5;
}
- $HTML .= get_template(THEMES_PATH."/comment.html", $get_message[$num_cmt]);
+ $HTML .= "<tr><td>" . get_template(THEMES_PATH."/comment.html", $get_message[$num_cmt]) . "</td></tr>";
if (sizeof($get_children[$num_cmt])) {
foreach ($get_children[$num_cmt] as $child) {
|