Changeset 5837 for trunk/bp-themes/bp-default/registration/register.php
- Timestamp:
- 02/24/2012 10:34:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/registration/register.php
r5737 r5837 154 154 155 155 <?php endif; ?> 156 157 <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> 158 <div class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> 159 <?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">Change</a> 160 </div> 161 162 <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>"> 163 <label for="field-visibility"><?php _e( 'Who can see this field?', 'buddypress' ) ?></label> 164 165 <?php bp_profile_visibility_radio_buttons() ?> 166 167 <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a> 168 </div> 169 <?php else : ?> 170 <div class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> 171 <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> 172 </div> 173 <?php endif ?> 174 156 175 157 176 <?php do_action( 'bp_custom_profile_edit_fields' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.