<?php } ?> <?php if (bbp_allow_revisions() && bbp_is_reply_edit()) { ?> <?php do_action('bbp_theme_before_reply_form_revisions'); ?> <fieldset class="bbp-form"> <legend> <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?> " /> <label for="bbp_log_reply_edit"><?php esc_html_e('Keep a log of this edit:', 'monsoon'); ?> </label><br /> </legend> <div> <label for="bbp_reply_edit_reason"><?php printf(esc_html__('Optional reason for editing:', 'monsoon'), bbp_get_current_user_name()); ?>
<?php endif; ?> </p> <?php do_action( 'bbp_theme_after_reply_form_subscription' ); ?> <?php endif; ?> <?php if ( bbp_allow_revisions() && bbp_is_reply_edit() ) : ?> <?php do_action( 'bbp_theme_before_reply_form_revisions' ); ?> <fieldset class="bbp-form"> <legend> <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" /> <label for="bbp_log_reply_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> </legend> <div> <label for="bbp_reply_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br /> <input type="text" value="<?php bbp_form_reply_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" /> </div> </fieldset> <?php do_action( 'bbp_theme_after_reply_form_revisions' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_before_reply_form_submit_wrapper' ); ?>