Permalink
Browse files

Better markup for comment form options.

  • Loading branch information...
1 parent 5533f4f commit 1579bf6d9efdbef581bd13a733df8dac3261a453 @yellowled committed Nov 14, 2012
Showing with 7 additions and 2 deletions.
  1. +1 −0 UTF-8/lang_de.inc.php
  2. +1 −0 UTF-8/lang_en.inc.php
  3. +3 −2 commentform.tpl
  4. +1 −0 lang_de.inc.php
  5. +1 −0 lang_en.inc.php
View
@@ -25,3 +25,4 @@
@define('TWOK11_EMPTYTRACKBACK', 'Die Anzeige des Inhaltes dieses Trackbacks ist leider nicht möglich.');
@define('TWOK11_TRACKBACKPREVIEW', 'Vorschau anzeigen');
@define('TWOK11_REPLYORIGIN', 'Ursprung');
+@define('TWOK11_FORMOPTIONS', 'Formular-Optionen');
View
@@ -25,3 +25,4 @@
@define('TWOK11_EMPTYTRACKBACK', 'Unfortunately, the contents of this trackback can not be displayed.');
@define('TWOK11_TRACKBACKPREVIEW', 'Show preview');
@define('TWOK11_REPLYORIGIN', 'Origin');
+@define('TWOK11_FORMOPTIONS', 'Form options');
View
@@ -37,7 +37,8 @@
</div>
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
{if $is_commentform_showToolbar}
- <div class="form_toolbar">
+ <fieldset class="form_toolbar">
+ <legend class="visuallyhidden">{$CONST.TWOK11_FORMOPTIONS}</legend>
<div class="form_box">
<input id="checkbox_remember" name="serendipity[remember]" type="checkbox" {$commentform_remember}><label for="checkbox_remember">{$CONST.REMEMBER_INFO}</label>
</div>
@@ -46,7 +47,7 @@
<input id="checkbox_subscribe" name="serendipity[subscribe]" type="checkbox" {$commentform_subscribe} ><label for="checkbox_subscribe">{$CONST.SUBSCRIBE_TO_THIS_ENTRY}</label>
</div>
{/if}
- </div>
+ </fieldset>
{/if}
{if $is_moderate_comments}
<p class="serendipity_msg_important">{$CONST.COMMENTS_WILL_BE_MODERATED}</p>
View
@@ -25,3 +25,4 @@
@define('TWOK11_EMPTYTRACKBACK', 'Die Anzeige des Inhaltes dieses Trackbacks ist leider nicht möglich.');
@define('TWOK11_TRACKBACKPREVIEW', 'Vorschau anzeigen');
@define('TWOK11_REPLYORIGIN', 'Antwort auf');
+@define('TWOK11_FORMOPTIONS', 'Formular-Optionen');
View
@@ -25,3 +25,4 @@
@define('TWOK11_EMPTYTRACKBACK', 'Unfortunately, the contents of this trackback can not be displayed.');
@define('TWOK11_TRACKBACKPREVIEW', 'Show preview');
@define('TWOK11_REPLYORIGIN', 'Origin');
+@define('TWOK11_FORMOPTIONS', 'Form options');

0 comments on commit 1579bf6

Please sign in to comment.