Changeset 10272
- Timestamp:
- 10/14/2015 03:07:15 PM (9 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy/buddypress/members
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/members/register.php
r10181 r10272 176 176 if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> 177 177 <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> 178 <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a> 178 <?php 179 printf( 180 __( 'This field can be seen by: %s', 'buddypress' ), 181 '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' 182 ); 183 ?> 184 <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a> 179 185 </p> 180 186 … … 191 197 <?php else : ?> 192 198 <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> 193 <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> 199 <?php 200 printf( 201 __( 'This field can be seen by: %s', 'buddypress' ), 202 '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' 203 ); 204 ?> 194 205 </p> 195 206 <?php endif ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
r10181 r10272 54 54 <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> 55 55 <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> 56 <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _e( 'Change', 'buddypress' ); ?></a> 56 <?php 57 printf( 58 __( 'This field can be seen by: %s', 'buddypress' ), 59 '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' 60 ); 61 ?> 62 <a href="#" class="visibility-toggle-link"><?php _e( 'Change', 'buddypress' ); ?></a> 57 63 </p> 58 64 … … 68 74 <?php else : ?> 69 75 <div class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> 70 <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> 76 <?php 77 printf( 78 __( 'This field can be seen by: %s', 'buddypress' ), 79 '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' 80 ); 81 ?> 71 82 </div> 72 83 <?php endif ?>
Note: See TracChangeset
for help on using the changeset viewer.