Changeset 5829 for trunk/src/includes/common/widgets.php
- Timestamp:
- 07/14/2015 12:46:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/widgets.php
r5793 r5829 79 79 echo $args['before_widget']; 80 80 81 if ( ! empty( $settings['title'] ) ) {81 if ( ! empty( $settings['title'] ) ) { 82 82 echo $args['before_title'] . $settings['title'] . $args['after_title']; 83 83 } … … 114 114 </div> 115 115 116 <?php if ( ! empty( $settings['register'] ) || !empty( $settings['lostpass'] ) ) : ?>116 <?php if ( ! empty( $settings['register'] ) || ! empty( $settings['lostpass'] ) ) : ?> 117 117 118 118 <div class="bbp-login-links"> 119 119 120 <?php if ( ! empty( $settings['register'] ) ) : ?>120 <?php if ( ! empty( $settings['register'] ) ) : ?> 121 121 122 122 <a href="<?php echo esc_url( $settings['register'] ); ?>" title="<?php esc_attr_e( 'Register', 'bbpress' ); ?>" class="bbp-register-link"><?php _e( 'Register', 'bbpress' ); ?></a> … … 124 124 <?php endif; ?> 125 125 126 <?php if ( ! empty( $settings['lostpass'] ) ) : ?>126 <?php if ( ! empty( $settings['lostpass'] ) ) : ?> 127 127 128 128 <a href="<?php echo esc_url( $settings['lostpass'] ); ?>" title="<?php esc_attr_e( 'Lost Password', 'bbpress' ); ?>" class="bbp-lostpass-link"><?php _e( 'Lost Password', 'bbpress' ); ?></a> … … 288 288 echo $args['before_widget']; 289 289 290 if ( ! empty( $settings['title'] ) ) {290 if ( ! empty( $settings['title'] ) ) { 291 291 echo $args['before_title'] . $settings['title'] . $args['after_title']; 292 292 } ?> … … 425 425 echo $args['before_widget']; 426 426 427 if ( ! empty( $settings['title'] ) ) {427 if ( ! empty( $settings['title'] ) ) { 428 428 echo $args['before_title'] . $settings['title'] . $args['after_title']; 429 429 } … … 577 577 echo $args['before_widget']; 578 578 579 if ( ! empty( $settings['title'] ) ) {579 if ( ! empty( $settings['title'] ) ) { 580 580 echo $args['before_title'] . $settings['title'] . $args['after_title']; 581 581 } ?> … … 611 611 612 612 // Force to any 613 if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {613 if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) { 614 614 $instance['parent_forum'] = 'any'; 615 615 } … … 794 794 echo $args['before_widget']; 795 795 796 if ( ! empty( $settings['title'] ) ) {796 if ( ! empty( $settings['title'] ) ) { 797 797 echo $args['before_title'] . $settings['title'] . $args['after_title']; 798 798 } ?> … … 856 856 857 857 // Force to any 858 if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {858 if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) { 859 859 $instance['parent_forum'] = 'any'; 860 860 } … … 990 990 echo $args['before_widget']; 991 991 992 if ( ! empty( $settings['title'] ) ) {992 if ( ! empty( $settings['title'] ) ) { 993 993 echo $args['before_title'] . $settings['title'] . $args['after_title']; 994 994 } … … 1140 1140 echo $args['before_widget']; 1141 1141 1142 if ( ! empty( $settings['title'] ) ) {1142 if ( ! empty( $settings['title'] ) ) { 1143 1143 echo $args['before_title'] . $settings['title'] . $args['after_title']; 1144 1144 } ?> … … 1164 1164 1165 1165 // Reply author, link, and timestamp 1166 if ( ! empty( $settings['show_date'] ) && ! empty( $author_link ) ) :1166 if ( ! empty( $settings['show_date'] ) && ! empty( $author_link ) ) : 1167 1167 1168 1168 // translators: 1: reply author, 2: reply link, 3: reply timestamp … … 1176 1176 1177 1177 // Reply author and title 1178 elseif ( ! empty( $author_link ) ) :1178 elseif ( ! empty( $author_link ) ) : 1179 1179 1180 1180 // translators: 1: reply author, 2: reply link
Note: See TracChangeset
for help on using the changeset viewer.