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 41a7adc7759c7bd71d88dfc76bb020bc2fc673ac (commit)
from e7bcba66d57410e8d46c732edc5ccef721e479f6 (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=41a7adc7759c7bd71d88dfc76bb020bc2fc673ac
commit 41a7adc7759c7bd71d88dfc76bb020bc2fc673ac
Author: Marc-Etienne Vargenau <[email protected]>
Date: Mon Apr 24 15:38:55 2017 +0200
Add <label>s
diff --git a/src/common/forum/ForumHTML.class.php
b/src/common/forum/ForumHTML.class.php
index cbdcaf7..a376caa 100644
--- a/src/common/forum/ForumHTML.class.php
+++ b/src/common/forum/ForumHTML.class.php
@@ -506,11 +506,11 @@ class ForumHTML extends FFError {
<table><tr><td class="top">
</td><td class="top">
<p>
- <strong><?php echo
_('Subject').utils_requiredField()._(':'); ?></strong><br />
- <input type="text" autofocus="autofocus"
required="required" name="subject" value="<?php echo $subject; ?>" size="80"
maxlength="80" />
+ <label for="subject"><strong><?php echo
_('Subject').utils_requiredField()._(':'); ?></strong></label><br />
+ <input id="subject" type="text"
autofocus="autofocus" required="required" name="subject" value="<?php echo
$subject; ?>" size="80" maxlength="80" />
</p>
<p>
- <strong><?php echo
_('Message').utils_requiredField()._(': '); ?></strong>
+ <label for="body"><strong><?php echo
_('Message').utils_requiredField()._(': '); ?></strong></label>
<?php echo
notepad_button('document.forms.ForumEditForm.body'); ?>
</p>
<?php
@@ -523,7 +523,7 @@ class ForumHTML extends FFError {
plugin_hook("text_editor",$params);
if (!$GLOBALS['editor_was_set_up']) {
//if we don't have any plugin for text editor,
display a simple textarea edit box
- echo '<textarea required="required" name="body"
rows="10" cols="70">' . $body . '</textarea>';
+ echo '<textarea id="body" required="required"
name="body" rows="10" cols="70">' . $body . '</textarea>';
}
unset($GLOBALS['editor_was_set_up']);
?>
-----------------------------------------------------------------------
Summary of changes:
src/common/forum/ForumHTML.class.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits