| @@ -1,49 +1,49 @@ | ||
| 1 | -<div class="bbpc-forum-information-wrapper"> | |
| 2 | - <div class="bbpc-section-heading"> <?php esc_html_e( 'Basic', 'forumax' ); ?> </div> | |
| 3 | - <p> | |
| 4 | - <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"> | |
| 5 | - <?php esc_html_e( 'Title:', 'forumax' ); ?> | |
| 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', 'forumax' ); ?> </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 esc_attr( $this->get_field_id('show_topics') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_topics_count' ) ); ?>" /> | |
| 15 | - <label for="<?php echo esc_attr( $this->get_field_id('show_topics') ); ?>"> | |
| 16 | - <?php esc_html_e( 'Show Topics Count', 'forumax' ); ?> | |
| 17 | - </label> | |
| 18 | - | |
| 19 | - <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_replies_count'] ) ){ checked( $instance['show_replies_count'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_replies') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_replies_count' ) ); ?>" /> | |
| 20 | - <label for="<?php echo esc_attr( $this->get_field_id('show_replies') ); ?>"> | |
| 21 | - <?php esc_html_e( 'Show replies count', 'forumax' ); ?> | |
| 22 | - </label> | |
| 23 | - | |
| 24 | - <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_icons'] ) ){ checked( $instance['show_icons'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_icon') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_icons' ) ); ?>" /> | |
| 25 | - <label for="<?php echo esc_attr( $this->get_field_id('show_icon') ); ?>"> | |
| 26 | - <?php esc_html_e( 'Show Icons', 'forumax' ); ?> | |
| 27 | - </label> | |
| 28 | - </span> | |
| 29 | - <span class="bbpc-info-show-item"> | |
| 30 | - <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_last_post_user'] ) ){ checked( $instance['show_last_post_user'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_last_post') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_last_post_user' ) ); ?>" /> | |
| 31 | - <label for="<?php echo esc_attr( $this->get_field_id('show_last_post') ); ?>"> | |
| 32 | - <?php esc_html_e( 'Show last post user', 'forumax' ); ?> | |
| 33 | - </label> | |
| 34 | - | |
| 35 | - <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_last_activity'] ) ){ checked( $instance['show_last_activity'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_activity') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_last_activity' ) ); ?>" /> | |
| 36 | - <label for="<?php echo esc_attr( $this->get_field_id('show_activity') ); ?>"> | |
| 37 | - <?php esc_html_e( 'Show last activity', 'forumax' ); ?> | |
| 38 | - </label> | |
| 39 | - </span> | |
| 40 | - </p> | |
| 41 | - | |
| 42 | - <div class="bbpc-section-heading"> <?php esc_html_e( 'Actions to show', 'forumax' ); ?> </div> | |
| 43 | - <p class="bbpc-info-show show-subscribe"> | |
| 44 | - <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_subscribe'] ) ){ checked( $instance['show_subscribe'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_subscribe_btn') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_subscribe' ) ); ?>" /> | |
| 45 | - <label for="<?php echo esc_attr( $this->get_field_id('show_subscribe_btn') ); ?>"> | |
| 46 | - <?php esc_html_e( 'Show subscribe button', 'forumax' ); ?> | |
| 47 | - </label> | |
| 48 | - </p> | |
| 49 | -</div> | |
| 1 | +<div class="bbpc-forum-information-wrapper"> | |
| 2 | + <div class="bbpc-section-heading"> <?php esc_html_e( 'Basic', 'forumax' ); ?> </div> | |
| 3 | + <p> | |
| 4 | + <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"> | |
| 5 | + <?php esc_html_e( 'Title:', 'forumax' ); ?> | |
| 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', 'forumax' ); ?> </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 esc_attr( $this->get_field_id('show_topics') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_topics_count' ) ); ?>" /> | |
| 15 | + <label for="<?php echo esc_attr( $this->get_field_id('show_topics') ); ?>"> | |
| 16 | + <?php esc_html_e( 'Show Topics Count', 'forumax' ); ?> | |
| 17 | + </label> | |
| 18 | + | |
| 19 | + <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_replies_count'] ) ){ checked( $instance['show_replies_count'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_replies') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_replies_count' ) ); ?>" /> | |
| 20 | + <label for="<?php echo esc_attr( $this->get_field_id('show_replies') ); ?>"> | |
| 21 | + <?php esc_html_e( 'Show replies count', 'forumax' ); ?> | |
| 22 | + </label> | |
| 23 | + | |
| 24 | + <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_icons'] ) ){ checked( $instance['show_icons'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_icon') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_icons' ) ); ?>" /> | |
| 25 | + <label for="<?php echo esc_attr( $this->get_field_id('show_icon') ); ?>"> | |
| 26 | + <?php esc_html_e( 'Show Icons', 'forumax' ); ?> | |
| 27 | + </label> | |
| 28 | + </span> | |
| 29 | + <span class="bbpc-info-show-item"> | |
| 30 | + <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_last_post_user'] ) ){ checked( $instance['show_last_post_user'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_last_post') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_last_post_user' ) ); ?>" /> | |
| 31 | + <label for="<?php echo esc_attr( $this->get_field_id('show_last_post') ); ?>"> | |
| 32 | + <?php esc_html_e( 'Show last post user', 'forumax' ); ?> | |
| 33 | + </label> | |
| 34 | + | |
| 35 | + <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_last_activity'] ) ){ checked( $instance['show_last_activity'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_activity') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_last_activity' ) ); ?>" /> | |
| 36 | + <label for="<?php echo esc_attr( $this->get_field_id('show_activity') ); ?>"> | |
| 37 | + <?php esc_html_e( 'Show last activity', 'forumax' ); ?> | |
| 38 | + </label> | |
| 39 | + </span> | |
| 40 | + </p> | |
| 41 | + | |
| 42 | + <div class="bbpc-section-heading"> <?php esc_html_e( 'Actions to show', 'forumax' ); ?> </div> | |
| 43 | + <p class="bbpc-info-show show-subscribe"> | |
| 44 | + <input class="checkbox" checked type="checkbox" <?php if ( ! empty( $instance['show_subscribe'] ) ){ checked( $instance['show_subscribe'], 'on' ); } ?> id="<?php echo esc_attr( $this->get_field_id('show_subscribe_btn') ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_subscribe' ) ); ?>" /> | |
| 45 | + <label for="<?php echo esc_attr( $this->get_field_id('show_subscribe_btn') ); ?>"> | |
| 46 | + <?php esc_html_e( 'Show subscribe button', 'forumax' ); ?> | |
| 47 | + </label> | |
| 48 | + </p> | |
| 49 | +</div> | |