com web/php: Added some labels for account request checkboxes: git-php.php
| From: | Kalle Sommer Nielsen | Date: | Sat, 19 Nov 2016 12:03:52 +0000 |
| Subject: | com web/php: Added some labels for account request checkboxes: git-php.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25337@lists.php.net to get a copy of this message | ||
Commit: 7ab10124254126b2877bcf75b740250a63db4bab
Author: Kalle Sommer Nielsen <kalle@php.net> Sat, 19 Nov 2016 13:03:52 +0100
Parents: d08e4b5eb33f28ccefb154cf0f0c7db9b9988c34
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=7ab10124254126b2877bcf75b740250a63db4bab
Log:
Added some labels for account request checkboxes
Changed paths:
M git-php.php
Diff:
diff --git a/git-php.php b/git-php.php
index 7ed5cbd..7815baa 100644
--- a/git-php.php
+++ b/git-php.php
@@ -366,7 +366,7 @@ $purposes = array("Learning PHP", "Coding in PHP",
"Reading the PHP source",
foreach ($purposes as $i => $p) { ?>
<input type="checkbox" name="purpose[<?php echo $i?>]"
value="1"
- checked="checked"><?php echo $p; ?><br>
+ checked="checked" id="vcs-purpose-<?php echo $i; ?>"> <label
for="vcs-purpose-<?php echo $i; ?>"><?php echo $p;
?></label><br>
<?php } ?>
</td>
</tr>
@@ -376,7 +376,7 @@ foreach ($purposes as $i => $p) { ?>
</tr>
<tr>
<th class="subr">Do you agree to follow the <a
href="license/contrib-guidelines-code.php">contribution
guidelines</a>?</th>
-<td><input type="checkbox" name="guidelines"
value="1">Check the box if you agree.</td>
+<td><input type="checkbox" name="guidelines" value="1"
id="vcs-guidelines"> <label for="vcs-guidelines">Check the box if you
agree</label></td>
</tr>
<tr>
<th class="subr">User ID:<br> <small>(single word, lower
case)</small></th>