[Fusionforge-commits] r19061 - in trunk/src/common/tracker: actions views

Marc-Etienne VARGENAU vargenau at fusionforge.org
Tue Feb 4 17:27:22 CET 2014


Author: vargenau
Date: 2014-02-04 17:27:22 +0100 (Tue, 04 Feb 2014)
New Revision: 19061

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

Modified: trunk/src/common/tracker/actions/format_csv.php
===================================================================
--- trunk/src/common/tracker/actions/format_csv.php	2014-02-04 13:36:53 UTC (rev 19060)
+++ trunk/src/common/tracker/actions/format_csv.php	2014-02-04 16:27:22 UTC (rev 19061)
@@ -64,16 +64,36 @@
 			<input type="hidden" name="group_id" value="<?php echo $group_id ?>" />
 			<input type="hidden" name="atid" value="<?php echo $ath->getID() ?>" />
 			<input type="hidden" name="func" value="csv" />
-		<table>
+		<table class="infotable">
 			<tr>
-				<td class="top"><strong><?php echo _('Separator')._(':'); ?></strong></td>
-				<td><input type="radio" name="sep" value=","<?php if ($sep==',') echo ' checked="checked"' ?>/><?php echo _('Comma (char: “,”)'); ?><br />
-				<input type="radio" name="sep" value=";"<?php if ($sep==';') echo ' checked="checked"' ?>/><?php echo _('Semi-colon (char: “;”)'); ?></td>
+				<td>
+					<?php echo _('Separator')._(':'); ?>
+				</td>
+				<td>
+					<input type="radio" id="comma" name="sep" value=","<?php if ($sep==',') echo ' checked="checked"' ?> />
+					<label for="comma">
+						<?php echo _('Comma (char: “,”)'); ?><br />
+					</label>
+					<input type="radio" id="semi-colon" name="sep" value=";"<?php if ($sep==';') echo ' checked="checked"' ?> />
+					<label for="semi-colon">
+						<?php echo _('Semi-colon (char: “;”)'); ?>
+					</label>
+				</td>
 			</tr>
 			<tr>
-				<td class="top"><strong><?php echo _('Header')._(':'); ?></strong></td>
-				<td><input type="radio" name="headers" value="1"<?php if ($headers) echo ' checked="checked"' ?>/><?php echo _('Included'); ?><br />
-				<input type="radio" name="headers" value="0"<?php if (!$headers) echo ' checked="checked"' ?>/><?php echo _('None'); ?></td>
+				<td>
+					<?php echo _('Header')._(':'); ?>
+				</td>
+				<td>
+					<input type="radio" id="included" name="headers" value="1"<?php if ($headers) echo ' checked="checked"' ?> />
+					<label for="included">
+						<?php echo _('Included'); ?><br />
+					</label>
+					<input type="radio" id="none" name="headers" value="0"<?php if (!$headers) echo ' checked="checked"' ?> />
+					<label for="none">
+						<?php echo _('None'); ?>
+					</label>
+				</td>
 			</tr>
 		</table>
 		<input type="submit" name="Submit" /></form>

Modified: trunk/src/common/tracker/views/form-addextrafieldoption.php
===================================================================
--- trunk/src/common/tracker/views/form-addextrafieldoption.php	2014-02-04 13:36:53 UTC (rev 19060)
+++ trunk/src/common/tracker/views/form-addextrafieldoption.php	2014-02-04 16:27:22 UTC (rev 19061)
@@ -100,8 +100,10 @@
 		<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&boxid='.$boxid.'&atid='.$ath->getID(); ?>" method="post">
 		<input type="hidden" name="add_opt" value="y" />
 		<br /><br />
-		<strong><?php echo _('Add New Element')._(':'); ?></strong>
-		<input type="text" name="name" value="" size="15" maxlength="30" />
+		<label for="name">
+			<strong><?php echo _('Add New Element')._(':'); ?></strong>
+		</label>
+		<input type="text" id="name" name="name" value="" size="15" maxlength="30" />
 		<!--
 		Show a pop-up box to choose the possible statuses that this element will map to
 		-->




More information about the Fusionforge-commits mailing list