Changeset 12104 for trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/change-avatar.php
- Timestamp:
- 05/21/2018 01:00:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/change-avatar.php
r12082 r12104 8 8 ?> 9 9 10 <h2 class="screen-heading change-avatar-screen"><?php _e( 'Change Profile Photo', 'buddypress' ); ?></h2>10 <h2 class="screen-heading change-avatar-screen"><?php esc_html_e( 'Change Profile Photo', 'buddypress' ); ?></h2> 11 11 12 12 <?php bp_nouveau_member_hook( 'before', 'avatar_upload_content' ); ?> … … 16 16 <p class="bp-feedback info"> 17 17 <span class="bp-icon" aria-hidden="true"></span> 18 <span class="bp-help-text"><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href="https://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ); ?></span>18 <span class="bp-help-text"><?php esc_html_e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href="https://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ); ?></span> 19 19 </p> 20 20 … … 24 24 25 25 <?php wp_nonce_field( 'bp_avatar_upload' ); ?> 26 <p class="bp-help-text"><?php _e( "Click below to select a JPG, GIF or PNG format photo from your computer and then click 'Upload Image' to proceed.", 'buddypress' ); ?></p>26 <p class="bp-help-text"><?php esc_html_e( "Click below to select a JPG, GIF or PNG format photo from your computer and then click 'Upload Image' to proceed.", 'buddypress' ); ?></p> 27 27 28 28 <p id="avatar-upload"> 29 <label for="file" class="bp-screen-reader-text"><?php _e( 'Select an image', 'buddypress' ); ?></label>29 <label for="file" class="bp-screen-reader-text"><?php esc_html_e( 'Select an image', 'buddypress' ); ?></label> 30 30 <input type="file" name="file" id="file" /> 31 31 <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" /> … … 34 34 35 35 <?php if ( bp_get_user_has_avatar() ) : ?> 36 <p class="bp-help-text"><?php _e( "If you'd like to delete your current profile photo but not upload a new one, pleaseuse the delete profile photo button.", 'buddypress' ); ?></p>37 <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>"><?php _e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p>36 <p class="bp-help-text"><?php esc_html_e( "If you'd like to delete your current profile photo, use the delete profile photo button.", 'buddypress' ); ?></p> 37 <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p> 38 38 <?php endif; ?> 39 39 … … 42 42 <?php if ( 'crop-image' === bp_get_avatar_admin_step() ) : ?> 43 43 44 <p class="bp-help-text screen-header"><?php _e( 'Crop Your New Profile Photo', 'buddypress' ); ?></p>44 <p class="bp-help-text screen-header"><?php esc_html_e( 'Crop Your New Profile Photo', 'buddypress' ); ?></p> 45 45 46 46 <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" /> … … 75 75 <?php else : ?> 76 76 77 <p class="bp-help-text"><?php _e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, pleasecreate an account with <a href="https://gravatar.com">Gravatar</a> using the same email address as you used to register with this site.', 'buddypress' ); ?></p>77 <p class="bp-help-text"><?php esc_html_e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, create an account with <a href="https://gravatar.com">Gravatar</a> using the same email address as you used to register with this site.', 'buddypress' ); ?></p> 78 78 79 79 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.