<?php } ?> <?php if (bbp_allow_revisions() && bbp_is_topic_edit()) { ?> <?php do_action('bbp_theme_before_topic_form_revisions'); ?> <fieldset class="bbp-form"> <legend> <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?> " /> <label for="bbp_log_topic_edit"><?php _e('Keep a log of this edit:', 'bbpress'); ?> </label><br /> </legend> <div> <label for="bbp_topic_edit_reason"><?php printf(__('Optional reason for editing:', 'bbpress'), bbp_get_current_user_name()); ?>
<label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> <?php endif; ?> </p> <?php do_action( 'bbp_theme_after_topic_form_subscriptions' ); ?> <?php endif; ?> <?php if ( bbp_allow_revisions() && bbp_is_topic_edit() ) : ?> <?php do_action( 'bbp_theme_before_topic_form_revisions' ); ?> <fieldset class="bbp-form"> <legend> <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" /> <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> </legend> <div> <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br /> <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" /> </div> </fieldset> <?php do_action( 'bbp_theme_after_topic_form_revisions' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_before_topic_form_submit_wrapper' ); ?>