[Fusionforge-commits] FusionForge branch master updated. e1195d2d9477429e3c58094b579a483487aac7c5

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Jun 18 17:58:25 CEST 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, master has been updated
       via  e1195d2d9477429e3c58094b579a483487aac7c5 (commit)
      from  bb5c49cc374fe3b866bc73925cf50c114fe680b4 (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 e1195d2d9477429e3c58094b579a483487aac7c5
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Wed Jun 18 17:58:06 2014 +0200

    Add <label>

diff --git a/src/www/register/index.php b/src/www/register/index.php
index fc1af35..b2e746c 100644
--- a/src/www/register/index.php
+++ b/src/www/register/index.php
@@ -254,13 +254,18 @@ if (forge_get_config('use_scm') && count($scm_plugins) > 0) {
 		echo '<td><input type="radio" name="scm" value="noscm" />'._('No SCM').'</td>';
 	}
 	foreach($scm_plugins as $plugin) {
-		$myPlugin= plugin_get_object($plugin);
-		echo '<td><input type="radio" name="scm" ';
+		$myPlugin = plugin_get_object($plugin);
+		echo "<td>\n";
+		echo '<input id="'.$myPlugin->name.'" type="radio" name="scm" ';
 		echo 'value="'.$myPlugin->name.'"';
 		if ($scm && strcmp($scm, $myPlugin->name) == 0) {
 			echo ' checked="checked"';
 		}
-		echo ' />'.$myPlugin->text.'</td>';
+		echo ' />';
+		echo '<label for="'.$myPlugin->name.'">';
+		echo $myPlugin->text;
+		echo '</label>';
+		echo "\n</td>\n";
 	}
 	echo '</tr></tbody></table>'."\n";
 }

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

Summary of changes:
 src/www/register/index.php |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list