[Fusionforge-commits] r12811 - trunk/src/www/include

Roland Mas lolando at fusionforge.org
Wed Mar 16 22:01:31 CET 2011


Author: lolando
Date: 2011-03-16 22:01:31 +0100 (Wed, 16 Mar 2011)
New Revision: 12811

Modified:
   trunk/src/www/include/login-form.php
Log:
Use a tabber on the login form

Modified: trunk/src/www/include/login-form.php
===================================================================
--- trunk/src/www/include/login-form.php	2011-03-16 21:01:14 UTC (rev 12810)
+++ trunk/src/www/include/login-form.php	2011-03-16 21:01:31 UTC (rev 12811)
@@ -21,6 +21,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+use_javascript('/tabber/tabber.js');
+
 function validate_return_to(&$return_to='/') {
 	$newrt = '/' ;
 
@@ -68,15 +70,18 @@
 		echo '</div> ' ;
 		echo '</p>';
 	}
-	
-	// see AuthBuiltinPlugin::displayAuthForm() that should do the work by default
-	
+
+	echo '<div id="tabber" class="tabber">';
+
 	foreach ($params['html_snippets'] as $p => $s) {
 		$plugin = plugin_get_object($p);
-		echo '<h2>'.$plugin->text.'</h2>';
+		echo '<div class="tabbertab" title="'$plugin->text.'">';
 		echo $s;
+		echo '</div>';
 	}
 	
+	echo '</div>';
+
 	if (!$formonly) {
 		$HTML->footer(array());
 	}




More information about the Fusionforge-commits mailing list