<?php 
        }
        ?>

						</p>

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

					<?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();
        ?>
" />
Example #2
0
							<?php 
        }
        ?>
						</p>

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

					<?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();
        ?>
" />
Example #3
0
/**
 * Allow topic and reply revisions
 *
 * @since 2.0.0 bbPress (r3412)
 *
 * @uses checked() To display the checked attribute
 */
function bbp_admin_setting_callback_revisions()
{
    ?>

	<input name="_bbp_allow_revisions" id="_bbp_allow_revisions" type="checkbox" value="1" <?php 
    checked(bbp_allow_revisions(true));
    bbp_maybe_admin_setting_disabled('_bbp_allow_revisions');
    ?>
 />
	<label for="_bbp_allow_revisions"><?php 
    esc_html_e('Allow topic and reply revision logging', 'bbpress');
    ?>
</label>

<?php 
}
Example #4
0
</label><br />
								<?php 
            bbp_form_reply_status_dropdown();
            ?>
							</p>

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

						<?php 
        }
        ?>

						<?php 
        if (bbp_allow_revisions()) {
            ?>

							<?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();
            ?>
 />
									<label for="bbp_log_reply_edit"><?php 
            esc_html_e('Keep a log of this edit:', 'bbpress');
            ?>
Example #5
0
/**
 * Allow topic and reply revisions
 *
 * @since bbPress (r3412)
 *
 * @uses checked() To display the checked attribute
 */
function bbp_admin_setting_callback_revisions()
{
    ?>

	<input id="_bbp_allow_revisions" name="_bbp_allow_revisions" type="checkbox" id="_bbp_allow_revisions" value="1" <?php 
    checked(bbp_allow_revisions(true));
    ?>
 />
	<label for="_bbp_allow_revisions"><?php 
    _e('Allow topic and reply revision logging', 'bbpress');
    ?>
</label>

<?php 
}