[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress Cover Images main template. 4 * 5 * This template is used to inject the BuddyPress Backbone views 6 * dealing with cover images. 7 * 8 * It's also used to create the common Backbone views. 9 * 10 * @since 2.4.0 11 * 12 * @package BuddyPress 13 * @subpackage bp-attachments 14 * @version 3.0.0 15 */ 16 17 ?> 18 19 <div class="bp-cover-image"></div> 20 <div class="bp-cover-image-status"></div> 21 <div class="bp-cover-image-manage"></div> 22 23 <?php bp_attachments_get_template_part( 'uploader' ); ?> 24 25 <script id="tmpl-bp-cover-image-delete" type="text/html"> 26 <# if ( 'user' === data.object ) { #> 27 <p><?php _e( "If you'd like to delete your current cover image but not upload a new one, please use the delete Cover Image button.", 'buddypress' ); ?></p> 28 <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p> 29 <# } else if ( 'group' === data.object ) { #> 30 <p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p> 31 <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p> 32 <# } else { #> 33 <?php do_action( 'bp_attachments_cover_image_delete_template' ); ?> 34 <# } #> 35 </script> 36 37 <?php do_action( 'bp_attachments_cover_image_main_template' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Jan 17 01:00:58 2025 | Cross-referenced by PHPXref 0.7.1 |