Changeset 12105 for branches/3.0/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php
- Timestamp:
- 05/21/2018 01:01:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php
r12082 r12105 24 24 <?php if ( ! bp_is_group_create() ) : ?> 25 25 <?php if ( ! bp_get_group_has_avatar() ) : ?> 26 <p class="bp-help-text"><?php _e( 'Add an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p>26 <p class="bp-help-text"><?php esc_html_e( 'Add an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p> 27 27 <?php else : ?> 28 <p class="bp-help-text"><?php _e( 'Edit or update your avatar image for this group.', 'buddypress' ); ?></p>28 <p class="bp-help-text"><?php esc_html_e( 'Edit or update your avatar image for this group.', 'buddypress' ); ?></p> 29 29 <?php endif; ?> 30 30 <?php endif; ?> … … 44 44 <?php endif; ?> 45 45 46 <p class="bp-help-text"><?php _e( 'Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p>46 <p class="bp-help-text"><?php esc_html_e( 'Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p> 47 47 48 48 <p> 49 <label for="file" class="bp-screen-reader-text"><?php _e( 'Select an image', 'buddypress' ); ?></label>49 <label for="file" class="bp-screen-reader-text"><?php esc_html_e( 'Select an image', 'buddypress' ); ?></label> 50 50 <input type="file" name="file" id="file" /> 51 51 <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" /> … … 54 54 55 55 <?php if ( bp_is_group_create() ) : ?> 56 <p class="bp-help-text"><?php _e( 'To skip the group profile photo upload process, hit the "Next Step" button.', 'buddypress' ); ?></p>56 <p class="bp-help-text"><?php esc_html_e( 'To skip the group profile photo upload process, hit the "Next Step" button.', 'buddypress' ); ?></p> 57 57 </div><!-- .main-column --> 58 58 59 59 <?php elseif ( bp_get_group_has_avatar() ) : ?> 60 60 61 <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p>61 <p><?php esc_html_e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p> 62 62 63 63 <?php … … 96 96 ?> 97 97 98 <h2><?php _e( 'Crop Group Profile Photo', 'buddypress' ); ?></h2>98 <h2><?php esc_html_e( 'Crop Group Profile Photo', 'buddypress' ); ?></h2> 99 99 100 100 <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.