Ejemplo n.º 1
0
</button>

						<?php 
    do_action('bbp_theme_after_topic_form_submit_button');
    ?>

					</div>

					<?php 
    do_action('bbp_theme_after_topic_form_submit_wrapper');
    ?>

				</div>

				<?php 
    bbp_topic_form_fields();
    ?>

			</fieldset>

			<?php 
    do_action('bbp_theme_after_topic_form');
    ?>

		</form>
	</div>

<?php 
} elseif (bbp_is_forum_closed()) {
    ?>
Ejemplo n.º 2
0
					<div class="bbp-submit-wrapper">

						<?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?>

						<button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>

						<?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?>

					</div>

					<?php do_action( 'bbp_theme_after_topic_form_submit_wrapper' ); ?>

				</div>

				<?php bbp_topic_form_fields(); ?>

			</fieldset>

			<?php do_action( 'bbp_theme_after_topic_form' ); ?>

		</form>
	</div>

<?php elseif ( bbp_is_forum_closed() ) : ?>

	<div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic">
		<div class="bbp-template-notice">
			<p><?php printf( __( 'The forum &#8216;%s&#8217; is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p>
		</div>
	</div>