| 1 |
<div class="bbpc-forum-information-wrapper"> |
| 2 |
<div class="bbpc-section-heading"> <?php esc_html_e( 'Basic', 'bbp-core' ); ?> </div> |
| 3 |
<p> |
| 4 |
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"> |
| 5 |
<?php esc_html_e( 'Title:', 'bbp-core-pro' ); ?> |
| 6 |
</label> |
| 7 |
<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>"/> |
| 8 |
</p> |
| 9 |
|
| 10 |
<div class="bbpc-section-heading"> <?php esc_html_e( 'Information to show', 'bbp-core' ); ?> </div> |
| 11 |
|
| 12 |
<p class="bbpc-info-show"> |
| 13 |
<span class="bbpc-info-show-item"> |
| 14 |
<input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_topics_count'] ) ){ checked( $instance['show_topics_count'], 'on' ); } ?> id="<?php echo $this->get_field_id('show_topics'); ?>" name="<?php echo $this->get_field_name( 'show_topics_count' ); ?>" /> |
| 15 |
<label for="<?php echo $this->get_field_id('show_topics'); ?>"> <?php esc_html_e( 'Show Topics Count', 'bbp-core' ); ?> </label> |
| 16 |
|
| 17 |
<input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_replies_count'] ) ){ checked( $instance['show_replies_count'], 'on' ); } ?> id="<?php echo $this->get_field_id('show_replies'); ?>" name="<?php echo $this->get_field_name( 'show_replies_count' ); ?>" /> |
| 18 |
<label for="<?php echo $this->get_field_id('show_replies'); ?>"> <?php esc_html_e( 'Show replies count', 'bbp-core' ); ?> </label> |
| 19 |
|
| 20 |
<input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_icons'] ) ){ checked( $instance['show_icons'], 'on' ); } ?> id="<?php echo $this->get_field_id('show_icon'); ?>" name="<?php echo $this->get_field_name( 'show_icons' ); ?>" /> |
| 21 |
<label for="<?php echo $this->get_field_id('show_icon'); ?>"> <?php esc_html_e( 'Show Icons', 'bbp-core' ); ?> </label> |
| 22 |
</span> |
| 23 |
<span class="bbpc-info-show-item"> |
| 24 |
<input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_last_post_user'] ) ){ checked( $instance['show_last_post_user'], 'on' ); } ?> id="<?php echo $this->get_field_id('show_last_post'); ?>" name="<?php echo $this->get_field_name( 'show_last_post_user' ); ?>" /> |
| 25 |
<label for="<?php echo $this->get_field_id('show_last_post'); ?>"> <?php esc_html_e( 'Show last post user', 'bbp-core' ); ?> </label> |
| 26 |
|
| 27 |
<input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_last_activity'] ) ){ checked( $instance['show_last_activity'], 'on' ); } ?> id="<?php echo $this->get_field_id('show_activity'); ?>" name="<?php echo $this->get_field_name( 'show_last_activity' ); ?>" /> |
| 28 |
<label for="<?php echo $this->get_field_id('show_activity'); ?>"> <?php esc_html_e( 'Show last activity', 'bbp-core' ); ?> </label> |
| 29 |
</span> |
| 30 |
</p> |
| 31 |
|
| 32 |
<div class="bbpc-section-heading"> <?php esc_html_e( 'Actions to show', 'bbp-core' ); ?> </div> |
| 33 |
<p class="bbpc-info-show show-subscribe"> |
| 34 |
<input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_subscribe'] ) ){ checked( $instance['show_subscribe'], 'on' ); } ?> id="<?php echo $this->get_field_id('show_subscribe_btn'); ?>" name="<?php echo $this->get_field_name( 'show_subscribe' ); ?>" /> |
| 35 |
<label for="<?php echo $this->get_field_id('show_subscribe_btn'); ?>"> <?php esc_html_e( 'Show subscribe button', 'bbp-core' ); ?> </label> |
| 36 |
</p> |
| 37 |
</div> |