[Fusionforge-commits] r12039 - in trunk/src: common/forum common/include www/admin www/project/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Jan 19 20:43:21 CET 2011


Author: aljeux
Date: 2011-01-19 20:43:21 +0100 (Wed, 19 Jan 2011)
New Revision: 12039

Modified:
   trunk/src/common/forum/ForumAdmin.class.php
   trunk/src/common/include/Group.class.php
   trunk/src/www/admin/groupedit.php
   trunk/src/www/project/admin/index.php
Log:
Misc indent & comment fixes

Modified: trunk/src/common/forum/ForumAdmin.class.php
===================================================================
--- trunk/src/common/forum/ForumAdmin.class.php	2011-01-19 19:43:13 UTC (rev 12038)
+++ trunk/src/common/forum/ForumAdmin.class.php	2011-01-19 19:43:21 UTC (rev 12039)
@@ -65,7 +65,6 @@
 		return $return;
 	}
 	
-	
 	/**
 	 *  PrintAdminOptions - prints the different administrator option for the forums (heading).
 	 *

Modified: trunk/src/common/include/Group.class.php
===================================================================
--- trunk/src/common/include/Group.class.php	2011-01-19 19:43:13 UTC (rev 12038)
+++ trunk/src/common/include/Group.class.php	2011-01-19 19:43:21 UTC (rev 12039)
@@ -316,9 +316,9 @@
 					scm_box,
 					register_purpose,
 					register_time,
-                                        enable_anonscm,
+					enable_anonscm,
 					rand_hash,
-                                        built_from_template
+					built_from_template
 				)
 				VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)',
 						array(htmlspecialchars ($group_name),
@@ -1500,7 +1500,7 @@
 	/**
 	 * getTags - Tags of this project.
 	 *
-	 * @return	string	List of tags. Commat separated
+	 * @return	string	List of tags. Comma separated
 	 */
 	function getTags() {
 		$sql = 'SELECT name FROM project_tags WHERE group_id = $1';

Modified: trunk/src/www/admin/groupedit.php
===================================================================
--- trunk/src/www/admin/groupedit.php	2011-01-19 19:43:13 UTC (rev 12038)
+++ trunk/src/www/admin/groupedit.php	2011-01-19 19:43:21 UTC (rev 12039)
@@ -40,7 +40,7 @@
 // This function performs very update
 function do_update(&$group, $is_public, $is_template, $status, $group_type, $unix_box, $http_domain, $scm_box='') {
 	global $feedback;
-    global $error_msg;
+	global $error_msg;
 
 	db_begin();
 

Modified: trunk/src/www/project/admin/index.php
===================================================================
--- trunk/src/www/project/admin/index.php	2011-01-19 19:43:13 UTC (rev 12038)
+++ trunk/src/www/project/admin/index.php	2011-01-19 19:43:21 UTC (rev 12039)
@@ -219,11 +219,11 @@
 <?php
 // This function is used to render checkboxes below
 function c($v) {
-        if ($v) {
-                return 'checked="checked"';
-        } else {
-                return '';
-        }
+	if ($v) {
+		return 'checked="checked"';
+	} else {
+		return '';
+	}
 }
 ?>
 




More information about the Fusionforge-commits mailing list