Making WordPress.org


Ignore:
Timestamp:
03/07/2017 07:55:32 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Improve markup and styling for topic and reply edit forms:

  • Add breadcrumbs to topic edit form.
  • Display "Keep a log of this edit" checkbox in edit reply form.
  • Some minor style adjustments for visual consistency.

Fixes #2566.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-topic.php

    r5082 r5113  
    22
    33<div id="bbpress-forums">
     4
     5    <?php bbp_breadcrumb(); ?>
    46
    57<?php endif; ?>
     
    200202                        <?php do_action( 'bbp_theme_before_topic_form_revisions' ); ?>
    201203
    202                         <fieldset class="bbp-form">
    203                             <legend><?php _e( 'Revision', 'wporg-forums' ); ?></legend>
    204                             <div>
     204                        <fieldset class="bbp-form log-edit">
     205                            <legend>
    205206                                <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> />
    206207                                <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'wporg-forums' ); ?></label><br />
    207                             </div>
     208                            </legend>
    208209
    209210                            <div>
    210                                 <label for="bbp_topic_edit_reason"><?php _e( 'Optional reason for editing:', 'wporg-forums' ); ?></label><br />
     211                                <label for="bbp_topic_edit_reason"><em><?php _e( 'Optional reason for editing:', 'wporg-forums' ); ?></em></label><br />
    211212                                <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" />
    212213                            </div>
Note: See TracChangeset for help on using the changeset viewer.