[Fusionforge-commits] FusionForge branch Branch_5_3 updated. b0fdf40ddb0a0875e7c45c8d7084381acb224205

Franck VILLAUME nerville at fusionforge.org
Wed Jan 22 09:38:08 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_3 has been updated
       via  b0fdf40ddb0a0875e7c45c8d7084381acb224205 (commit)
       via  1d4f0e915352915ed9d69983cb6745f4b79d78a0 (commit)
      from  9d184b86b277ecfa1cd2506e5b68e5c151b6d8d1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b0fdf40ddb0a0875e7c45c8d7084381acb224205
Author: Stéphane-Eymeric Bredthauer <sebredthauer at gmail.com>
Date:   Tue Jan 21 18:12:09 2014 +0100

    AuthBuiltin plugin: use HTML5 required also for the password
    
    Signed-off-by: Franck Villaume <franck.villaume at trivialdev.com>

diff --git a/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php b/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php
index 7740dad..1244a44 100644
--- a/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php
+++ b/src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php
@@ -76,7 +76,7 @@ class AuthBuiltinPlugin extends ForgeAuthPlugin {
 		} else {
 			$result .= _('Login Name')._(':');
 		}
-		$result .= '<br /><input type="text" name="form_loginname" value="' . htmlspecialchars(stripslashes($loginname)) . '" required="required" /></p><p>' . _('Password')._(':') . '<br /><input type="password" name="form_pw" /></p><p><input type="submit" name="login" value="' . _('Login') . '" />
+		$result .= '<br /><input type="text" name="form_loginname" value="' . htmlspecialchars(stripslashes($loginname)) . '" required="required" /></p><p>' . _('Password')._(':') . '<br /><input type="password" name="form_pw" required="required" /></p><p><input type="submit" name="login" value="' . _('Login') . '" />
 </p>
 </form>' ;
 

commit 1d4f0e915352915ed9d69983cb6745f4b79d78a0
Author: Stéphane-Eymeric Bredthauer <sebredthauer at gmail.com>
Date:   Tue Jan 21 17:21:41 2014 +0100

    Navigation : use HTML5 required in search form
    
    Signed-off-by: Franck Villaume <franck.villaume at trivialdev.com>

diff --git a/src/common/include/Navigation.class.php b/src/common/include/Navigation.class.php
index f0af38f..1e1319b 100644
--- a/src/common/include/Navigation.class.php
+++ b/src/common/include/Navigation.class.php
@@ -4,6 +4,7 @@
  *
  * Copyright 2009 - 2010, Olaf Lenz
  * Copyright 2011-2012, Franck Villaume - TrivialDev
+ * Copyright 2014, Stéphane-Eymeric Bredthauer
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -167,7 +168,7 @@ class Navigation extends Error {
 			$res .= '<input type="hidden" value="'.$value.'" name="'.$name.'" />' . "\n";
 		}
 		$res .= '<input type="text" size="12" id="searchBox-words" name="words" value="'
-			. $defaultWords . '" />' . "\n";
+			. $defaultWords . '" required="required" />' . "\n";
 		$res .= '<input type="submit" name="Search" value="'._('Search').'" />' . "\n";
 
 		if (isset($group_id) && $group_id) {

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/Navigation.class.php                    |    3 ++-
 src/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list