[Fusionforge-commits] r17779 - in trunk/src: common/forum common/include www/forum/admin www/frs/admin www/news www/project/admin www/survey/admin

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Aug 22 18:34:51 CEST 2013


Author: vargenau
Date: 2013-08-22 18:34:51 +0200 (Thu, 22 Aug 2013)
New Revision: 17779

Modified:
   trunk/src/common/forum/ForumHTML.class.php
   trunk/src/common/include/Group.class.php
   trunk/src/www/forum/admin/monitor.php
   trunk/src/www/frs/admin/editrelease.php
   trunk/src/www/news/submit.php
   trunk/src/www/project/admin/project_admin_utils.php
   trunk/src/www/survey/admin/index.php
Log:
Whitespace

Modified: trunk/src/common/forum/ForumHTML.class.php
===================================================================
--- trunk/src/common/forum/ForumHTML.class.php	2013-08-22 16:19:23 UTC (rev 17778)
+++ trunk/src/common/forum/ForumHTML.class.php	2013-08-22 16:34:51 UTC (rev 17779)
@@ -116,7 +116,7 @@
 				$menu_links[]='/forum/admin/?group_id='.$group_id;
 			}
 		} else {
-			$gg=group_get_object($group_id);
+			$gg = group_get_object($group_id);
 			if (forge_check_perm ('forum_admin', $group_id)) {
 				$menu_text[]=_('Administration');
 				$menu_links[]='/forum/admin/?group_id='.$group_id;

Modified: trunk/src/common/include/Group.class.php
===================================================================
--- trunk/src/common/include/Group.class.php	2013-08-22 16:19:23 UTC (rev 17778)
+++ trunk/src/common/include/Group.class.php	2013-08-22 16:34:51 UTC (rev 17779)
@@ -128,15 +128,15 @@
 }
 
 function &group_get_all_projects() {
-	$res=db_query_params ('SELECT group_id FROM groups',
-			      array ()) ;
-	return group_get_objects (util_result_column_to_array($res,0)) ;
+	$res = db_query_params ('SELECT group_id FROM groups',
+			      array ());
+	return group_get_objects(util_result_column_to_array($res,0)) ;
 }
 
 function &group_get_template_projects() {
-	$res=db_query_params ('SELECT group_id FROM groups WHERE is_template=1 AND status != $1',
-			      array ('D')) ;
-	return group_get_objects (util_result_column_to_array($res,0)) ;
+	$res = db_query_params('SELECT group_id FROM groups WHERE is_template=1 AND status != $1',
+			      array ('D'));
+	return group_get_objects(util_result_column_to_array($res,0)) ;
 }
 
 function &group_get_object_by_name($groupname) {

Modified: trunk/src/www/forum/admin/monitor.php
===================================================================
--- trunk/src/www/forum/admin/monitor.php	2013-08-22 16:19:23 UTC (rev 17778)
+++ trunk/src/www/forum/admin/monitor.php	2013-08-22 16:34:51 UTC (rev 17779)
@@ -35,7 +35,7 @@
 
 $group_id = getIntFromRequest('group_id');
 $group_forum_id = getIntFromRequest('group_forum_id');
-$g=group_get_object($group_id);
+$g = group_get_object($group_id);
 $f = new Forum ($g,$group_forum_id);
 if (!$f || !is_object($f)) {
 	exit_error(_('Could Not Get Forum Object'),'forums');

Modified: trunk/src/www/frs/admin/editrelease.php
===================================================================
--- trunk/src/www/frs/admin/editrelease.php	2013-08-22 16:19:23 UTC (rev 17778)
+++ trunk/src/www/frs/admin/editrelease.php	2013-08-22 16:34:51 UTC (rev 17779)
@@ -40,7 +40,7 @@
 	session_redirect('/frs/admin/?group_id='.$group_id);
 }
 
-$group=group_get_object($group_id);
+$group = group_get_object($group_id);
 if (!$group || !is_object($group)) {
 	exit_no_group();
 } elseif ($group->isError()) {

Modified: trunk/src/www/news/submit.php
===================================================================
--- trunk/src/www/news/submit.php	2013-08-22 16:19:23 UTC (rev 17778)
+++ trunk/src/www/news/submit.php	2013-08-22 16:34:51 UTC (rev 17779)
@@ -57,7 +57,7 @@
 if (!$group_id) {
 	exit_no_group();
 }
-$group=group_get_object($group_id);
+$group = group_get_object($group_id);
 if (!$group || !is_object($group)) {
 	exit_no_group();
 } elseif ($group->isError()) {

Modified: trunk/src/www/project/admin/project_admin_utils.php
===================================================================
--- trunk/src/www/project/admin/project_admin_utils.php	2013-08-22 16:19:23 UTC (rev 17778)
+++ trunk/src/www/project/admin/project_admin_utils.php	2013-08-22 16:34:51 UTC (rev 17779)
@@ -132,7 +132,7 @@
 }
 
 function group_add_history ($field_name,$old_value,$group_id) {
-	$group=group_get_object($group_id);
+	$group = group_get_object($group_id);
 	$group->addHistory($field_name,$old_value);
 }
 

Modified: trunk/src/www/survey/admin/index.php
===================================================================
--- trunk/src/www/survey/admin/index.php	2013-08-22 16:19:23 UTC (rev 17778)
+++ trunk/src/www/survey/admin/index.php	2013-08-22 16:34:51 UTC (rev 17779)
@@ -37,7 +37,7 @@
 if (!$group_id) {
 	exit_no_group();
 }
-$group=group_get_object($group_id);
+$group = group_get_object($group_id);
 if (!$group || !is_object($group)) {
 	exit_no_group();
 } elseif ($group->isError()) {




More information about the Fusionforge-commits mailing list