[Fusionforge-commits] r8691 - in trunk/gforge/www/forum: . include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Jan 26 20:39:38 CET 2010


Author: aljeux
Date: 2010-01-26 20:39:37 +0100 (Tue, 26 Jan 2010)
New Revision: 8691

Modified:
   trunk/gforge/www/forum/include/ForumHTML.class.php
   trunk/gforge/www/forum/message.php
Log:
Minor: Indent fixes

Modified: trunk/gforge/www/forum/include/ForumHTML.class.php
===================================================================
--- trunk/gforge/www/forum/include/ForumHTML.class.php	2010-01-25 21:02:11 UTC (rev 8690)
+++ trunk/gforge/www/forum/include/ForumHTML.class.php	2010-01-26 19:39:37 UTC (rev 8691)
@@ -237,7 +237,7 @@
 		/*
 			See if this message is new or not
 			If so, highlite it in bold
-			*/
+		*/
 		if ($this->Forum->getSavedDate() < $msg->getPostDate()) {
 			$bold_begin='<strong>';
 			$bold_end='</strong>';
@@ -396,7 +396,7 @@
 			then checks if any messages are nested underneath it.
 			If there are, it calls itself, incrementing $level
 			$level is used for indentation of the threads.
-			*/
+		*/
 		global $total_rows,$forum_id,$current_message,$group_id;
 
 		$rows=count($msg_arr["$msg_id"]);
@@ -406,21 +406,21 @@
 			for ($i=($rows-1); $i >= 0; $i--) {
 				/*
 					Is this row's background shaded or not?
-					*/
+				*/
 				$total_rows++;
 
 				$ret_val .= '
 					<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($total_rows) .'><td style="white-space: nowrap;">';
 				/*
 					How far should it indent?
-					*/
+				*/
 				for ($i2=0; $i2<$level; $i2++) {
 					$ret_val .= ' &nbsp; &nbsp; &nbsp; ';
 				}
 
 				/*
 					If it this is the message being displayed, don't show a link to it
-					*/
+				*/
 				if ($current_message != $msg_arr["$msg_id"][$i]->getID()) {
 					$ah_begin='<a href="'.util_make_url ('/forum/message.php?msg_id='. $msg_arr["$msg_id"][$i]->getID() .'&amp;group_id='.$group_id).'">';
 					$ah_end='</a>';
@@ -433,7 +433,7 @@
 					html_image('ic/msg.png',"10","12",array("border"=>"0")).' ';
 				/*
 					See if this message is new or not
-					*/
+				*/
 				if ($this->Forum->getSavedDate() < $msg_arr["$msg_id"][$i]->getPostDate()) {
 					$bold_begin='<strong>';
 					$bold_end='</strong>';
@@ -449,7 +449,7 @@
 				if ($msg_arr["$msg_id"][$i]->hasFollowups() > 0) {
 					/*
 						Call yourself, incrementing the level
-						*/
+					*/
 					$ret_val .= $this->showSubmessages($msg_arr,$msg_arr["$msg_id"][$i]->getID(),($level+1));
 				}
 			}

Modified: trunk/gforge/www/forum/message.php
===================================================================
--- trunk/gforge/www/forum/message.php	2010-01-25 21:02:11 UTC (rev 8690)
+++ trunk/gforge/www/forum/message.php	2010-01-26 19:39:37 UTC (rev 8691)
@@ -207,7 +207,7 @@
 
 	$ret_val .= $GLOBALS['HTML']->listTableBottom();
 
-		echo $ret_val;
+	echo $ret_val;
 
 	if ($reply) {
 		/*




More information about the Fusionforge-commits mailing list