Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/15/2012 08:44:52 PM (13 years ago)
Author:
boonebgorges
Message:

Changes 'privacy' to 'visibility' throughout, when referencing xprofile fields. See #3695. Props DJPaul.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/profile/edit.php

    r5789 r5792  
    116116                <?php /* The fullname field is always public */ ?>
    117117                <?php if ( 1 != bp_get_the_profile_field_id() ) : ?>
    118                     <div class="field-privacy-settings-toggle" id="field-privacy-settings-toggle-<?php bp_the_profile_field_id() ?>">
    119                         <?php printf( __( 'This field can be seen by: <span class="current-privacy-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_privacy_level_label() ) ?> <a href="#" class="privacy-toggle-link">Change</a>
     118                    <div class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
     119                        <?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>
    120120                    </div>
    121121                   
    122                     <div class="field-privacy-settings" id="field-privacy-settings-<?php bp_the_profile_field_id() ?>">
    123                         <label for="field-privacy"><?php _e( 'Who can see this field?', 'buddypress' ) ?></label>
     122                    <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
     123                        <label for="field-visibility"><?php _e( 'Who can see this field?', 'buddypress' ) ?></label>
    124124                       
    125                         <?php bp_profile_privacy_radio_buttons() ?>
     125                        <?php bp_profile_visibility_radio_buttons() ?>
    126126                       
    127                         <a class="field-privacy-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
     127                        <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    128128                    </div>
    129129                <?php endif ?>
Note: See TracChangeset for help on using the changeset viewer.