| @@ -1,37 +1,49 @@ | ||
| 1 | 1 | <div class="bbpc-forum-information-wrapper"> |
| 2 | - <div class="bbpc-section-heading"> <?php esc_html_e( 'Basic', 'bbp-core' ); ?> </div> | |
| 2 | + <div class="bbpc-section-heading"> <?php esc_html_e( 'Basic', 'forumax' ); ?> </div> | |
| 3 | 3 | <p> |
| 4 | 4 | <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"> |
| 5 | - <?php esc_html_e( 'Title:', 'bbp-core' ); ?> | |
| 5 | + <?php esc_html_e( 'Title:', 'forumax' ); ?> | |
| 6 | 6 | </label> |
| 7 | 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 | 8 | </p> |
| 9 | 9 | |
| 10 | - <div class="bbpc-section-heading"> <?php esc_html_e( 'Information to show', 'bbp-core' ); ?> </div> | |
| 10 | + <div class="bbpc-section-heading"> <?php esc_html_e( 'Information to show', 'forumax' ); ?> </div> | |
| 11 | 11 | |
| 12 | 12 | <p class="bbpc-info-show"> |
| 13 | 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> | |
| 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> | |
| 16 | 18 | |
| 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 | + <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> | |
| 19 | 23 | |
| 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> | |
| 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> | |
| 22 | 28 | </span> |
| 23 | 29 | <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> | |
| 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> | |
| 26 | 34 | |
| 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> | |
| 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> | |
| 29 | 39 | </span> |
| 30 | 40 | </p> |
| 31 | 41 | |
| 32 | - <div class="bbpc-section-heading"> <?php esc_html_e( 'Actions to show', 'bbp-core' ); ?> </div> | |
| 42 | + <div class="bbpc-section-heading"> <?php esc_html_e( 'Actions to show', 'forumax' ); ?> </div> | |
| 33 | 43 | <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> | |
| 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> | |
| 36 | 48 | </p> |
| 37 | 49 | </div> |