[Fusionforge-commits] r19366 - trunk/src/common/tracker/views

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Mar 5 10:12:35 CET 2014


Author: vargenau
Date: 2014-03-05 10:12:35 +0100 (Wed, 05 Mar 2014)
New Revision: 19366

Modified:
   trunk/src/common/tracker/views/form-updatetracker.php
Log:
Add <label>

Modified: trunk/src/common/tracker/views/form-updatetracker.php
===================================================================
--- trunk/src/common/tracker/views/form-updatetracker.php	2014-03-04 17:41:57 UTC (rev 19365)
+++ trunk/src/common/tracker/views/form-updatetracker.php	2014-03-05 09:12:35 UTC (rev 19366)
@@ -61,26 +61,41 @@
 		?>
 	</p>
 	<p>
-		<strong><?php echo _('Send email on new submission to address')._(':'); ?></strong><br />
-		<input type="text" name="email_address" value="<?php echo $email_address; ?>" /></p>
+		<label for="email_address">
+			<strong><?php echo _('Send email on new submission to address')._(':'); ?></strong><br />
+		</label>
+		<input type="text" id="email_address" name="email_address" value="<?php echo $email_address; ?>" />
+	</p>
 	<p>
-		<input type="checkbox" name="email_all" value="1" <?php echo (($email_all)?'checked="checked"':''); ?> /> <strong><?php echo _('Send email on all changes') ?></strong>
+		<input type="checkbox" id="email_all" name="email_all" value="1" <?php echo (($email_all)?'checked="checked"':''); ?> />
+		<label for="email_all">
+			<strong><?php echo _('Send email on all changes') ?></strong>
+		</label>
 	</p>
 	<p>
-		<strong><?php echo _('Days till considered overdue')._(':'); ?></strong><br />
-		<input type="text" name="due_period" value="<?php echo $due_period; ?>" />
+		<label for="due_period">
+			<strong><?php echo _('Days till considered overdue')._(':'); ?></strong><br />
+		</label>
+		<input type="number" id="due_period" name="due_period" value="<?php echo $due_period; ?>" />
 	</p>
 	<p>
-		<strong><?php echo _('Days till pending tracker items time out')._(':'); ?></strong><br />
-		<input type="text" name="status_timeout"  value="<?php echo $status_timeout; ?>" />
+		<label for="status_timeout">
+			<strong><?php echo _('Days till pending tracker items time out')._(':'); ?></strong><br />
+		</label>
+		<input type="number" id="status_timeout" name="status_timeout"  value="<?php echo $status_timeout; ?>" />
 	</p>
 	<p>
-		<strong><?php echo _('Free form text for the “Submit New” page')._(':'); ?></strong><br />
-		<textarea name="submit_instructions" rows="10" cols="55"><?php echo $submit_instructions; ?></textarea>
+		<label for="submit_instructions">
+			<strong><?php echo _('Free form text for the “Submit New” page')._(':'); ?></strong><br />
+		</label>
+		<textarea id="submit_instructions" name="submit_instructions" rows="10" cols="55"><?php echo $submit_instructions; ?></textarea>
 	</p>
 	<p>
-		<strong><?php echo _('Free form text for the Browse page')._(':'); ?></strong><br />
-		<textarea name="browse_instructions" rows="10" cols="55"><?php echo $browse_instructions; ?></textarea></p>
+		<label for="browse_instructions">
+			<strong><?php echo _('Free form text for the Browse page')._(':'); ?></strong><br />
+		</label>
+		<textarea id="browse_instructions" name="browse_instructions" rows="10" cols="55"><?php echo $browse_instructions; ?></textarea>
+	</p>
 	<p>
 		<input type="submit" name="post_changes" value="<?php echo _('Submit') ?>" />
 	</p>




More information about the Fusionforge-commits mailing list