</button> <?php do_action('bbp_theme_after_reply_form_submit_button'); ?> </div> <?php do_action('bbp_theme_after_reply_form_submit_wrapper'); ?> </div> <?php bbp_reply_form_fields(); ?> </fieldset> <?php do_action('bbp_theme_after_reply_form'); ?> </form> </div> <?php } elseif (bbp_is_topic_closed()) { ?>
<?php do_action( 'bbp_theme_before_reply_form_submit_button' ); ?> <?php bbp_cancel_reply_to_link(); ?> <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_reply_submit" name="bbp_reply_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button> <?php do_action( 'bbp_theme_after_reply_form_submit_button' ); ?> </div> <?php do_action( 'bbp_theme_after_reply_form_submit_wrapper' ); ?> </div> <?php bbp_reply_form_fields(); ?> </fieldset> <?php do_action( 'bbp_theme_after_reply_form' ); ?> </form> </div> <?php elseif ( bbp_is_topic_closed() ) : ?> <div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply"> <div class="bbp-template-notice"> <p><?php printf( __( 'The topic ‘%s’ is closed to new replies.', 'bbpress' ), bbp_get_topic_title() ); ?></p> </div> </div>