[Fusionforge-commits] r12826 - in trunk/src/www: account include

Roland Mas lolando at fusionforge.org
Thu Mar 17 11:47:09 CET 2011


Author: lolando
Date: 2011-03-17 11:47:09 +0100 (Thu, 17 Mar 2011)
New Revision: 12826

Modified:
   trunk/src/www/account/login.php
   trunk/src/www/include/login-form.php
Log:
Fix login page

Modified: trunk/src/www/account/login.php
===================================================================
--- trunk/src/www/account/login.php	2011-03-17 08:37:40 UTC (rev 12825)
+++ trunk/src/www/account/login.php	2011-03-17 10:47:09 UTC (rev 12826)
@@ -31,6 +31,7 @@
 
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
+require_once($gfwww.'/include/login-form.php');
 
 $return_to = getStringFromRequest('return_to');
 $triggered = getIntFromRequest('triggered');

Modified: trunk/src/www/include/login-form.php
===================================================================
--- trunk/src/www/include/login-form.php	2011-03-17 08:37:40 UTC (rev 12825)
+++ trunk/src/www/include/login-form.php	2011-03-17 10:47:09 UTC (rev 12826)
@@ -46,6 +46,8 @@
 }
 
 function display_login_form($return_to='/', $triggered=false, $full_page=false) {
+	global $HTML;
+
 	validate_return_to($return_to);
 
 	$params = array();




More information about the Fusionforge-commits mailing list