[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1810-g000d7d9

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Wed May 10 20:16:39 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  000d7d9aaec9ed47345919b8185d29509876df3c (commit)
      from  ff2ea63009faad7eab6c49503b7cc7b5d59bceb5 (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=000d7d9aaec9ed47345919b8185d29509876df3c

commit 000d7d9aaec9ed47345919b8185d29509876df3c
Author: Marc-Etienne Vargenau <Marc-Etienne.Marc-Etienne at alcatel-lucent.com>
Date:   Wed May 10 20:16:35 2017 +0200

    Add <label>

diff --git a/src/www/admin/approve-pending.php b/src/www/admin/approve-pending.php
index 2c21391..d80154e 100644
--- a/src/www/admin/approve-pending.php
+++ b/src/www/admin/approve-pending.php
@@ -162,8 +162,8 @@ while ($row_grp = db_fetch_array($res_grp)) {
 	<?php print get_canned_responses();
 	echo util_make_link('/admin/responses_admin.php', _('(manage responses)')); ?>
 	<br />
-	<?php echo _('Custom response title and text'); ?><br />
-	<input type="text" name="response_title" size="30" maxlength="25" /><br />
+	<label for="response_title"><?php echo _('Custom response title and text'); ?></label><br />
+	<input id="response_title" type="text" name="response_title" size="30" maxlength="25"/><br />
 	<textarea name="response_text" rows="10" cols="50"></textarea>
 	<input type="checkbox" name="add_to_can" value="<?php echo _('Yes'); ?>" /><?php echo _('Add this custom response to canned responses') ;?>
 	<br />
diff --git a/src/www/pm/admin/index.php b/src/www/pm/admin/index.php
index 82337d6..c1e07b4 100644
--- a/src/www/pm/admin/index.php
+++ b/src/www/pm/admin/index.php
@@ -275,15 +275,12 @@ if ($add_cat && $group_project_id) {
 	<p>
 	<input type="hidden" name="addproject" value="y" />
 	<input type="hidden" name="post_changes" value="y" />
-	<strong><?php echo _('New Subproject Name').utils_requiredField()?></strong>
-	<br />
-	<input type="text" name="project_name" value="" size="15" maxlength="30" required="required" pattern=".{5,}" title="<?php echo _('At least 5 characters') ?>" />
-	<p />
+	<strong><?php echo _('New Subproject Name').utils_requiredField()?></strong><br />
+	<input type="text" name="project_name" value="" size="15" maxlength="30" required="required" pattern=".{5,}" title="<?php echo _('At least 5 characters') ?>" /><br />
 	<strong><?php echo _('Description').utils_requiredField() ?></strong><br />
-	<input type="text" name="description" value="" size="40" maxlength="80" required="required" pattern=".{10,}" title="<?php echo _('At least 10 characters') ?>" />
-	<p />
-	<strong><?php echo _('Send All Updates To')._(':'); ?></strong><br />
-	<input type="email" name="send_all_posts_to" value="" size="40" maxlength="80" /><p />
+	<input type="text" name="description" value="" size="40" maxlength="80" required="required" pattern=".{10,}" title="<?php echo _('At least 10 characters') ?>" /><br />
+	<label for="send_all_posts_to" ><strong><?php echo _('Send All Updates To')._(':'); ?></strong></label><br />
+	<input id="send_all_posts_to" type="email" name="send_all_posts_to" value="" size="40" maxlength="80" /><br />
 	<input type="submit" name="submit" value="<?php echo _('Submit') ?>" />
 	<?php
 	echo $HTML->closeForm();
diff --git a/src/www/snippet/add_snippet_to_package.php b/src/www/snippet/add_snippet_to_package.php
index 2e4648a..85cc142 100644
--- a/src/www/snippet/add_snippet_to_package.php
+++ b/src/www/snippet/add_snippet_to_package.php
@@ -138,8 +138,8 @@ if (session_loggedin()) {
 
 	<table>
 	<tr><td colspan="2" class="align-center">
-		<strong><?php echo _('Add This Snippet Version ID')._(':'); ?></strong><br />
-		<select name="snippet_version_id">
+	<label for="snippet_version_id"><strong><?php echo _('Add This Snippet Version ID')._(':'); ?></strong></label><br />
+	<select id="snippet_version_id" name="snippet_version_id">
 <?php
 
 $combolistresult = db_query_params ('SELECT myname,snippet_version.snippet_version_id
@@ -168,7 +168,6 @@ for ($i=0; $i<$combolistrows; $i++)
 	</td></tr>
 	</table>
 	<?php echo $HTML->closeForm(); ?>
-	</p>
 	<?php
 	/*
 		Show the snippets in this package
diff --git a/src/www/snippet/addversion.php b/src/www/snippet/addversion.php
index 5df18c1..1c4ff9e 100644
--- a/src/www/snippet/addversion.php
+++ b/src/www/snippet/addversion.php
@@ -93,16 +93,16 @@ if (session_loggedin()) {
 		<input type="hidden" name="id" value="<?php echo $id; ?>" />
 
 		<table>
-		<tr><td colspan="2"><strong><?php echo _('Version')._(':'). utils_requiredField(); ?></strong><br />
-			<input type="text" name="version" size="10" maxlength="15" required="required" />
+		<tr><td colspan="2"><label for="version"><strong><?php echo _('Version')._(':'). utils_requiredField(); ?></strong></label><br />
+			<input id="version" type="text" name="version" size="10" maxlength="15" required="required" />
 		</td></tr>
 
-		<tr><td colspan="2"><strong><?php echo _('Changes')._(':'). utils_requiredField(); ?></strong><br />
-			<textarea name="changes" rows="5" cols="45" required="required"></textarea>
+		<tr><td colspan="2"><label for="changes"><strong><?php echo _('Changes')._(':'). utils_requiredField(); ?></strong></label><br />
+			<textarea id="changes" name="changes" rows="5" cols="45" required="required"></textarea>
 		</td></tr>
 
-		<tr><td colspan="2"><strong><?php echo _('Paste the Code Here')._(':'). utils_requiredField(); ?></strong><br />
-			<textarea name="code" rows="30" cols="85" required="required"></textarea>
+		<tr><td colspan="2"><label for="code"><strong><?php echo _('Paste the Code Here')._(':'). utils_requiredField(); ?></strong></label><br />
+			<textarea id="code" name="code" rows="30" cols="85" required="required"></textarea>
 		</td></tr>
 
 		<tr><td colspan="2" class="align-center">
@@ -216,12 +216,12 @@ function show_add_snippet_box() {
 		<input type="hidden" name="id" value="<?php echo $id; ?>" />
 
 		<table>
-		<tr><td colspan="2"><strong><?php echo _('Version')._(':'); ?></strong><br />
-			<input type="text" name="version" size="10" maxlength="15" />
+		<tr><td colspan="2"><label for="version"><strong><?php echo _('Version')._(':'); ?></strong></label><br />
+			<input id="version" type="text" name="version" size="10" maxlength="15" />
 		</td></tr>
 
-		<tr><td colspan="2"><strong><?php echo _('Changes')._(':'); ?></strong><br />
-			<textarea name="changes" rows="5" cols="45"></textarea>
+		<tr><td colspan="2"><label for="changes"><strong><?php echo _('Changes')._(':'); ?></strong></label><br />
+			<textarea id="changes" name="changes" rows="5" cols="45"></textarea>
 		</td></tr>
 
 		<tr><td colspan="2" class="align-center">
@@ -229,7 +229,7 @@ function show_add_snippet_box() {
 			<br />
 			<input type="submit" name="submit" value="<?php echo _('Submit'); ?>" />
 		</td></tr>
-		</table></p>
+		</table>
 		<?php
 		echo $HTML->closeForm();
 		snippet_footer();

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

Summary of changes:
 src/www/admin/approve-pending.php          |  4 ++--
 src/www/pm/admin/index.php                 | 13 +++++--------
 src/www/snippet/add_snippet_to_package.php |  5 ++---
 src/www/snippet/addversion.php             | 22 +++++++++++-----------
 4 files changed, 20 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list