[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1813-gc6b3188

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Thu May 11 13:54:09 CEST 2017


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  c6b3188bc33237f66cfd2888683119cd2846d073 (commit)
      from  04b5a460227f6ebb1b4d994a097fc2200fd691b3 (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=c6b3188bc33237f66cfd2888683119cd2846d073

commit c6b3188bc33237f66cfd2888683119cd2846d073
Author: Marc-Etienne Vargenau <marc-etienne.vargenau at nokia.com>
Date:   Thu May 11 13:54:04 2017 +0200

    Add <label>

diff --git a/src/www/snippet/package.php b/src/www/snippet/package.php
index a232a2f..0ae50e9 100644
--- a/src/www/snippet/package.php
+++ b/src/www/snippet/package.php
@@ -129,7 +129,6 @@ function show_add_snippet_box() {
 	snippet_header(array('title'=>_('Submit A New Snippet Package')));
 
 	?>
-	</p>
 	<p>
 	<?php echo _('You can group together existing snippets into a package using this interface. Before creating your package, make sure all your snippets are in place and you have made a note of the snippet ID\'s.'); ?>
 	</p>
@@ -146,13 +145,21 @@ function show_add_snippet_box() {
 
 	<table>
 
-	<tr><td colspan="2"><strong><?php echo _('Title').utils_requiredField()._(':'); ?></strong><br />
-		<input type="text" required="required" name="name" size="45" maxlength="60" />
-	</td></tr>
+	<tr>
+	<td colspan="2">
+		<label for="name"><strong><?php echo _('Title').utils_requiredField()._(':'); ?></strong></label>
+		<br />
+		<input id="name" type="text" required="required" name="name" size="45" maxlength="60" />
+	</td>
+	</tr>
 
-	<tr><td colspan="2"><strong><?php echo _('Description').utils_requiredField()._(':'); ?></strong><br />
-		<textarea name="description" required="required" rows="5" cols="45"></textarea>
-	</td></tr>
+	<tr>
+	<td colspan="2">
+		<label for="description"><strong><?php echo _('Description').utils_requiredField()._(':'); ?></strong></label>
+		<br />
+		<textarea id="description" name="description" required="required" rows="5" cols="45"></textarea>
+	</td>
+	</tr>
 
 	<tr>
 	<td><strong><?php echo _('Language').utils_requiredField()._(':'); ?></strong><br />
@@ -168,9 +175,13 @@ function show_add_snippet_box() {
 	</td>
 	</tr>
 
-	<tr><td colspan="2"><strong><?php echo _('Version').utils_requiredField()._(':'); ?></strong><br />
-		<input type="text" required="required" name="version" size="10" maxlength="15" />
-	</td></tr>
+	<tr>
+	<td colspan="2">
+		<label for="version"><strong><?php echo _('Version').utils_requiredField()._(':'); ?></strong></label>
+		<br />
+		<input id="version" type="text" required="required" name="version" size="10" maxlength="15" />
+	</td>
+	</tr>
 
 	<tr><td colspan="2" class="align-center">
 		<strong><?php echo _('Make sure all info is complete and accurate'); ?></strong>

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

Summary of changes:
 src/www/snippet/package.php | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list