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 cf6f672169b56d38cb8cf13a72ab412f40c73e6f (commit)
from 4bacec7495a4ac9441dcd316cb81e5580309245e (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=cf6f672169b56d38cb8cf13a72ab412f40c73e6f
commit cf6f672169b56d38cb8cf13a72ab412f40c73e6f
Author: Marc-Etienne Vargenau <[email protected]>
Date: Mon Sep 12 11:19:40 2016 +0200
Add <label>
diff --git a/src/www/survey/include/SurveyHTML.class.php
b/src/www/survey/include/SurveyHTML.class.php
index 3a4a635..f7c1c49 100644
--- a/src/www/survey/include/SurveyHTML.class.php
+++ b/src/www/survey/include/SurveyHTML.class.php
@@ -219,9 +219,10 @@ class SurveyHTML extends FFError {
$ret.= "<tr ". $HTML->boxGetAltRowStyle($i)
.">\n";
}
- $ret.= '<td><input type="checkbox" name="to_add[]"
value="'.$arr_to_add[$i]->getID().'" />'.
+ $ret.= '<td><input type="checkbox" id="to_add_'.$i.'"
name="to_add[]" value="'.$arr_to_add[$i]->getID().'" />'.
+ '<label for="to_add_'.$i.'">'.
$arr_to_add[$i]->getQuestion().' ('.
-
$arr_to_add[$i]->getQuestionStringType().')</td>';
+
$arr_to_add[$i]->getQuestionStringType().")</label></td>\n";
if ($i%3==2) {
$ret.= "</tr>";
-----------------------------------------------------------------------
Summary of changes:
src/www/survey/include/SurveyHTML.class.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits