[Fusionforge-commits] r8464 - in trunk/gforge/www: . account admin forum/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Fri Dec 4 19:20:47 CET 2009


Author: aljeux
Date: 2009-12-04 19:20:47 +0100 (Fri, 04 Dec 2009)
New Revision: 8464

Modified:
   trunk/gforge/www/account/index.php
   trunk/gforge/www/account/register.php
   trunk/gforge/www/admin/groupdelete.php
   trunk/gforge/www/forum/include/ForumHTML.class.php
   trunk/gforge/www/projects
Log:
Indent or minor changes

Modified: trunk/gforge/www/account/index.php
===================================================================
--- trunk/gforge/www/account/index.php	2009-12-04 18:20:41 UTC (rev 8463)
+++ trunk/gforge/www/account/index.php	2009-12-04 18:20:47 UTC (rev 8464)
@@ -27,9 +27,7 @@
 
 $feedback = '';
 
-if (!session_loggedin()) {
-	exit_not_logged_in();
-}
+session_require(array('isloggedin'=>'1'));
 
 // get global users vars
 $u =& user_get_object(user_getid());

Modified: trunk/gforge/www/account/register.php
===================================================================
--- trunk/gforge/www/account/register.php	2009-12-04 18:20:41 UTC (rev 8463)
+++ trunk/gforge/www/account/register.php	2009-12-04 18:20:47 UTC (rev 8464)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Register new acoount page
+ * Register new account page
  *
  * Copyright 1999-2001 (c) VA Linux Systems
  *

Modified: trunk/gforge/www/admin/groupdelete.php
===================================================================
--- trunk/gforge/www/admin/groupdelete.php	2009-12-04 18:20:41 UTC (rev 8463)
+++ trunk/gforge/www/admin/groupdelete.php	2009-12-04 18:20:47 UTC (rev 8464)
@@ -59,7 +59,7 @@
 <input type="checkbox" value="1" name="reallyreallysure" /> <?php echo _('Confirm Delete'); ?><br />
 
 <input type="submit" name="submit" value="<?php echo _('Permanently Delete'); ?>" />
-</form></p>
+</form>
 
 <?php
 

Modified: trunk/gforge/www/forum/include/ForumHTML.class.php
===================================================================
--- trunk/gforge/www/forum/include/ForumHTML.class.php	2009-12-04 18:20:41 UTC (rev 8463)
+++ trunk/gforge/www/forum/include/ForumHTML.class.php	2009-12-04 18:20:47 UTC (rev 8464)
@@ -39,7 +39,7 @@
 	/*
 		bastardization for news
 		Show icon bar unless it's a news forum
-		*/
+	*/
 	if ($group_id == $sys_news_group) {
 		//this is a news item, not a regular forum
 		if ($forum_id) {
@@ -109,8 +109,8 @@
 	}
 	if (count($menu_text) > 0) {
 		echo $HTML->subMenu(
-		$menu_text,
-		$menu_links
+			$menu_text,
+			$menu_links
 		);
 	}
 	
@@ -142,7 +142,7 @@
 
 /**
 
-Wrap many forum functions in this class
+	Wrap many forum functions in this class
 
 **/
 class ForumHTML extends Error {

Modified: trunk/gforge/www/projects
===================================================================
--- trunk/gforge/www/projects	2009-12-04 18:20:41 UTC (rev 8463)
+++ trunk/gforge/www/projects	2009-12-04 18:20:47 UTC (rev 8464)
@@ -54,7 +54,7 @@
 	} else if ($subpage == "cvs") {
 		header("Location: ".account_group_cvsweb_url($project->getUnixName()));
 		exit();
-	}  else {
+	} else {
 		//show the project summary page
 		include $gfwww.'include/project_home.php';
 	}




More information about the Fusionforge-commits mailing list