Пример #1
0
				<?php 
    do_action('bbp_template_notices');
    ?>

				<div>

					<?php 
    bbp_get_template_part('form', 'anonymous');
    ?>

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

					<?php 
    bbp_the_content(array('context' => 'reply'));
    ?>

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

					<?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>

						<p class="form-allowed-tags">
							<label><?php 
        esc_html_e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'monsoon');
        ?>
</label><br />
Пример #2
0
    bbp_title_max_length();
    ?>
" placeholder="<?php 
    printf(__('Topic Title (Maximum Length: %d):', 'bbpress'), bbp_get_title_max_length());
    ?>
"/>
                        </p>
                        <?php 
    do_action('bbp_theme_after_topic_form_title');
    ?>

                        <?php 
    do_action('bbp_theme_before_topic_form_content');
    ?>
                        <?php 
    bbp_the_content(array('context' => 'topic', 'tinymce' => true, 'media_buttons' => true));
    ?>
                        <?php 
    do_action('bbp_theme_after_topic_form_content');
    ?>

                        <?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>
                            <p class="form-allowed-tags">
                                <label><?php 
        _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress');
        ?>
</label><br />
                                <code><?php 
        bbp_allowed_tags();
Пример #3
0
" size="40" name="bbp_topic_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'topic'));
    ?>

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

					<?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>

						<p class="form-allowed-tags">
							<label><?php 
        _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress');
        ?>
</label><br />
Пример #4
0
					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
					    </div>
						<div class="col-xs-12 col-sm-7 col-md-7">
                    <?php 
    }
    ?>

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

					<?php 
    bbp_the_content(array('context' => 'reply', 'tinymce' => true));
    ?>

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

					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
                            </div><!-- col-xs-12 col-sm-8 col-md-8 -->
                          </div><!-- row -->
                    <?php 
    }
    ?>
Пример #5
0
" size="40" name="bbp_forum_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'forum'));
    ?>

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

					<?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>

						<p class="form-allowed-tags">
							<label><?php 
        _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress');
        ?>
</label><br />
Пример #6
0
					<label for="bbp_topic_title"><i class="fa fa-bookmark"></i>Topic Title:</label>
					<input type="text" id="bbp_topic_title" value="<?php 
    bbp_form_topic_title();
    ?>
" tabindex="<?php 
    bbp_tab_index();
    ?>
" name="bbp_topic_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
				</div>

				<?php 
    // The TinyMCE editor
    bbp_the_content(array('context' => 'topic', 'media_buttons' => false, 'wpautop' => true, 'tinymce' => true, 'quicktags' => true, 'teeny' => false));
    ?>
				
				<?php 
    // Moderators can set topic type
    if (current_user_can('moderate')) {
        ?>
				<div class="form-left">
					<label for="bbp_stick_topic_select"><i class="fa fa-thumb-tack"></i><?php 
        _e('Topic Type: ', 'bbpress');
        ?>
</label>
					<?php 
        bbp_topic_type_select();
        ?>
				</div>
Пример #7
0
</label><br />
                                <textarea id="bbp_topic_content" tabindex="<?php 
        bbp_tab_index();
        ?>
" name="bbp_topic_content" cols="60" rows="6"><?php 
        bbp_form_topic_content();
        ?>
</textarea>
                            </p>

                        <?php 
    } else {
        ?>

                            <?php 
        bbp_the_content(array('context' => 'topic', 'tinymce' => true, 'dfw' => false));
        ?>

                        <?php 
    }
    ?>

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

                        <?php 
    if (!current_user_can('unfiltered_html')) {
        ?>

                            <p class="form-allowed-tags">
Пример #8
0
</label><br />
                                <textarea id="bbp_reply_content" tabindex="<?php 
        bbp_tab_index();
        ?>
" name="bbp_reply_content" rows="6"><?php 
        bbp_form_reply_content();
        ?>
</textarea>
                            </p>

                        <?php 
    } else {
        ?>

                            <?php 
        bbp_the_content(array('context' => 'reply', 'tinymce' => true, 'wpautop ' => true, 'dfw' => true));
        ?>

                        <?php 
    }
    ?>

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

                        <?php 
    if (!current_user_can('unfiltered_html')) {
        ?>

                            <p class="form-allowed-tags">
Пример #9
0
					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
					    </div>
						<div class="col-xs-12 col-sm-7 col-md-7">
                    <?php 
    }
    ?>
                    
					<?php 
    do_action('bbp_theme_before_topic_form_content');
    ?>

					<?php 
    bbp_the_content(array('context' => 'topic', 'tinymce' => true));
    ?>


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

					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
                            </div><!-- col-xs-12 col-sm-8 col-md-8 -->
                          </div><!-- row -->
                    <?php 
    }
    ?>
Пример #10
0
    printf(__('Reply To: %s', 'bbpress'), bbp_get_topic_title());
    ?>
</legend>

				<div>

					<?php 
    bbp_get_template_part('form', 'anonymous');
    ?>

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

					<?php 
    bbp_the_content(array('context' => 'reply', 'quicktags' => false));
    ?>

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


					<?php 
    /* if ( bbp_is_subscriptions_active() && !bbp_is_anonymous() && ( !bbp_is_reply_edit() || ( bbp_is_reply_edit() && !bbp_is_reply_anonymous() ) ) ) : ?>
    
    						<?php do_action( 'bbp_theme_before_reply_form_subscription' ); ?>
    
    						<p>
    
    							<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> tabindex="<?php bbp_tab_index(); ?>" />
Пример #11
0
" size="40" name="bbp_topic_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'topic', 'quicktags' => false, 'media_buttons' => true));
    ?>

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

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

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

						<fieldset class="bbp-form">
Пример #12
0
" size="40" name="bbp_forum_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'forum', 'tinymce' => true));
    ?>

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

					<?php 
    /*if ( ! ( bbp_use_wp_editor() || current_user_can( 'unfiltered_html' ) ) ) : ?>
    
    						<p class="form-allowed-tags">
    							<label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'firmasite' ); ?></label><br />
    							<pre><?php bbp_allowed_tags(); ?></pre>
    						</p>
    
    					<?php endif;*/