[Fusionforge-commits] r10778 - in trunk/src: common/frs common/include www www/account www/admin www/developer www/forum www/frs/admin www/include www/news www/pm

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Fri Oct 1 20:22:58 CEST 2010


Author: aljeux
Date: 2010-10-01 20:22:58 +0200 (Fri, 01 Oct 2010)
New Revision: 10778

Modified:
   trunk/src/common/frs/FRSRelease.class.php
   trunk/src/common/include/MailParser.class.php
   trunk/src/www/account/index.php
   trunk/src/www/admin/groupedit.php
   trunk/src/www/admin/vhost.php
   trunk/src/www/developer/diary.php
   trunk/src/www/forum/forum.php
   trunk/src/www/forum/save.php
   trunk/src/www/frs/admin/editrelease.php
   trunk/src/www/include/features_boxes.php
   trunk/src/www/include/project_home.php
   trunk/src/www/news/submit.php
   trunk/src/www/pm/gantt.php
   trunk/src/www/pm/ganttpage.php
   trunk/src/www/snapshots.php
   trunk/src/www/tarballs.php
Log:
Minor changes (ident, comments, ...)

Modified: trunk/src/common/frs/FRSRelease.class.php
===================================================================
--- trunk/src/common/frs/FRSRelease.class.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/common/frs/FRSRelease.class.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -279,7 +279,7 @@
 	 *
 	 *  @return	boolean	success.
 	 */
-	function sendNotice() { //send E-Mail
+	function sendNotice() {
 		$arr =& $this->FRSPackage->getMonitorIDs();
 
 		$date = date('Y-m-d H:i',time());

Modified: trunk/src/common/include/MailParser.class.php
===================================================================
--- trunk/src/common/include/MailParser.class.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/common/include/MailParser.class.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -112,7 +112,6 @@
 		return $this->getHeader('Subject');
 	}
 
-//tperdue at collab.adpcorp.com (Tim Perdue)
 	function getFromEmail() {
 		$mail = $this->getHeader('From');
 		if (strpos($mail,'(') !== false) {
@@ -205,7 +204,7 @@
 		/* Default charset */
 		$charset = "ASCII";
 
-		/* We ecpecting : encoded-word = "=?" charset "?" encoding "?" encoded-text "?="
+		/* We expecting : encoded-word = "=?" charset "?" encoding "?" encoded-text "?="
 		 * See more detail in RFC 2407
 		 */
 

Modified: trunk/src/www/account/index.php
===================================================================
--- trunk/src/www/account/index.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/account/index.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -99,7 +99,6 @@
 
 ?>
 
-
 <p> <?php echo _('Welcome'); ?> <strong><?php print $u->getRealName(); ?></strong>. </p>
 <p>
 

Modified: trunk/src/www/admin/groupedit.php
===================================================================
--- trunk/src/www/admin/groupedit.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/admin/groupedit.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -94,7 +94,6 @@
 
 <form action="<?php echo getStringFromServer('PHP_SELF'); ?>" method="post">
 
-
 <table>
 <tr>
 <td>

Modified: trunk/src/www/admin/vhost.php
===================================================================
--- trunk/src/www/admin/vhost.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/admin/vhost.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -47,11 +47,11 @@
 
 		$group = &group_get_object_by_name($groupname);
 		if (!$group || !is_object($group)) {
-            exit_no_group();
+			exit_no_group();
 		} elseif ($group->isError()) {
 			exit_error($group->getErrorMessage(),'home');
 		}
-		
+
 		$group_id = $group->getID();
 
 		if (valid_hostname($vhost_name)) {

Modified: trunk/src/www/developer/diary.php
===================================================================
--- trunk/src/www/developer/diary.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/developer/diary.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -89,9 +89,9 @@
 		echo '
 		<tr><td colspan="2" class="tablecontent">&nbsp;</td></tr>';
 	}
-
 	echo "</table>\n";
 	echo $HTML->boxBottom();
+
 	echo $HTML->footer(array());
 
 } else {

Modified: trunk/src/www/forum/forum.php
===================================================================
--- trunk/src/www/forum/forum.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/forum/forum.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -391,7 +391,6 @@
 	} else {
 		$ret_val .= '&nbsp;';
 	}
-
 	$ret_val .= '</td></tr></table>';
 
 	echo $ret_val;

Modified: trunk/src/www/forum/save.php
===================================================================
--- trunk/src/www/forum/save.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/forum/save.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -53,7 +53,7 @@
 		if (!$f->savePlace()) {
 			exit_error($f->getErrorMessage(),'forums');
 		} else {
-            session_redirect('/forum/forum.php?forum_id='.$forum_id.'&group_id='.$group_id.'&feedback='.urlencode(_('Forum Position Saved. New messages will be highlighted when you return')));
+			session_redirect('/forum/forum.php?forum_id='.$forum_id.'&group_id='.$group_id.'&feedback='.urlencode(_('Forum Position Saved. New messages will be highlighted when you return')));
 		}
 	} else {
 		exit_missing_param('',array(_('Forum ID'),_('Project ID')),'forums');

Modified: trunk/src/www/frs/admin/editrelease.php
===================================================================
--- trunk/src/www/frs/admin/editrelease.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/frs/admin/editrelease.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -43,9 +43,9 @@
 
 $group=group_get_object($group_id);
 if (!$group || !is_object($group)) {
-    exit_no_group();
+	exit_no_group();
 } elseif ($group->isError()) {
-    exit_error($group->getErrorMessage(),'frs');
+	exit_error($group->getErrorMessage(),'frs');
 }
 session_require_perm ('frs', $group_id, 'write') ;
 

Modified: trunk/src/www/include/features_boxes.php
===================================================================
--- trunk/src/www/include/features_boxes.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/include/features_boxes.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -81,8 +81,6 @@
 	',
 					array ('A'),
 					10);
-//	echo db_error();
-
 	if (db_numrows($res_topdown) == 0) {
 		return _('No Stats Available');
 	}
@@ -106,7 +104,6 @@
 	$return .= '<div class="align-center">' . util_make_link ('/top/', _('All the ranking'), array('class' => 'dot-link')) . '</div>';
 	
 	return $return;
-
 }
 
 

Modified: trunk/src/www/include/project_home.php
===================================================================
--- trunk/src/www/include/project_home.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/include/project_home.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -35,8 +35,6 @@
 
 site_project_header(array('title'=>$title,'group'=>$group_id,'toptab'=>'home'));
 
-
-// ########################################### end top area
 $request =& HTTPRequest::instance();
 $request->set('group_id',$group_id);
 

Modified: trunk/src/www/news/submit.php
===================================================================
--- trunk/src/www/news/submit.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/news/submit.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 1999-2001 VA Linux Systems
  * Copyright (C) 2002-2004 GForge Team
- * Copyright (C) 2008-2009 Alcatel-Lucent
+ * Copyright (C) 2008-2010 Alcatel-Lucent
  *
  * http://fusionforge.org/
  *
@@ -28,7 +28,7 @@
 /*
  * Standard Alcatel-Lucent disclaimer for contributing to open source
  *
- * "The Style Sheet ("Contribution") has not been tested and/or
+ * "The Submit News Form ("Contribution") has not been tested and/or
  * validated for release as or in products, combinations with products or
  * other commercial use. Any use of the Contribution is entirely made at
  * the user's own responsibility and the user can not rely on any features,

Modified: trunk/src/www/pm/gantt.php
===================================================================
--- trunk/src/www/pm/gantt.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/pm/gantt.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -22,7 +22,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-
 if (!file_exists(forge_get_config('jpgraph_path').'/jpgraph.php')) {
 	exit_error(_('Package JPGraph not installed'),'pm');
 }

Modified: trunk/src/www/pm/ganttpage.php
===================================================================
--- trunk/src/www/pm/ganttpage.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/pm/ganttpage.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -165,7 +165,7 @@
 		<td>'._('Sort On').'<br />'. $order_box .'</td>
 		<td>'._('Resolution').'<br />'. $dispres_box .'</td>
 		<td>'._('Size').'<br />'. $size_box .'</td>
-		<td>&nbsp;<input type="submit" name="submit" value="'._('Browse').'" /></td>
+		<td><input type="submit" name="submit" value="'._('Browse').'" /></td>
 	</tr></table></form>';
 
 echo '<img src="'. getStringFromServer('PHP_SELF') .

Modified: trunk/src/www/snapshots.php
===================================================================
--- trunk/src/www/snapshots.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/snapshots.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -44,7 +44,7 @@
 
 // Snapshot downloads require the same permissions as SCM read access
 if (!forge_check_perm ('scm', $group->getID(), 'read')) {
- 	exit_permission_denied('home');
+	exit_permission_denied('home');
 }
 
 // Download file

Modified: trunk/src/www/tarballs.php
===================================================================
--- trunk/src/www/tarballs.php	2010-10-01 18:22:50 UTC (rev 10777)
+++ trunk/src/www/tarballs.php	2010-10-01 18:22:58 UTC (rev 10778)
@@ -44,7 +44,7 @@
 
 // Tarball downloads require the same permissions as SCM read access
 if (!forge_check_perm ('scm', $group->getID(), 'read')) {
- 	exit_permission_denied('home');
+	exit_permission_denied('home');
 }
 
 $group_name=$group->getUnixName();




More information about the Fusionforge-commits mailing list