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  b3f625c8cedb85190eb695a34f7d97f8a2a59795 (commit)
      from  e02a8a8f7264c4afc62af2290de580d0891d1a7c (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=b3f625c8cedb85190eb695a34f7d97f8a2a59795

commit b3f625c8cedb85190eb695a34f7d97f8a2a59795
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Fri Feb 10 10:23:02 2017 +0100

    Add <label>

diff --git a/src/common/tracker/views/form-workflow_required_fields.php 
b/src/common/tracker/views/form-workflow_required_fields.php
index e8a63b6..efaff4d 100644
--- a/src/common/tracker/views/form-workflow_required_fields.php
+++ b/src/common/tracker/views/form-workflow_required_fields.php
@@ -83,14 +83,15 @@ array_multisort($extra_fields_names, SORT_ASC, $sort_flags, 
$extra_fields);
 foreach ($extra_fields as $field) {
        if ($field['field_type'] != ARTIFACT_EXTRAFIELDTYPE_STATUS) {
                $value = in_array($field['extra_field_id'], $requiredFields)? ' 
checked="checked"' : '';
-               $str = '<input type="checkbox" 
name="extrafield['.$field['extra_field_id'].']"'.$value.' />';
-               $str .= ' '.$field['field_name'];
-               echo $str."<br />\n";
+               echo '<input type="checkbox" 
id="extrafield['.$field['extra_field_id'].']" 
name="extrafield['.$field['extra_field_id'].']"'.$value.' />';
+               echo '<label 
for="extrafield['.$field['extra_field_id'].']">'.$field['field_name'].'</label>';
+               echo "<br />\n";
        }
 }
 ?>
 <p>
-<input type="submit" name="post_changes" value="<?php echo _('Submit') ?>" 
/></p>
+<input type="submit" name="post_changes" value="<?php echo _('Submit') ?>" />
+</p>
 <?php
 echo $HTML->closeForm();
 $ath->footer();

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

Summary of changes:
 src/common/tracker/views/form-workflow_required_fields.php | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to