[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress Avatars recycle template. 4 * 5 * This template is used to create the recycle Backbone views. 6 * 7 * @since 10.0.0 8 * @version 10.0.0 9 */ 10 ?> 11 <script id="tmpl-bp-avatar-recycle" type="text/html"> 12 <div class="avatars-history"> 13 <div class="avatar-history-list"> 14 <table class="avatar-history-table"> 15 <thead> 16 <tr> 17 <th><?php esc_html_e( 'Profile photo', 'buddypress' ); ?></th> 18 <th><?php esc_html_e( 'Uploaded on', 'buddypress' ); ?></th> 19 </tr> 20 </thead> 21 <tbody id="bp-avatars-history-list"></tbody> 22 </table> 23 </div> 24 <div class="avatar-history-actions"> 25 <p class="warning"><?php esc_html_e( 'Click on a profile photo from your history to recycle it as your current profile photo or delete it.', 'buddypress' ); ?></p> 26 <button class="avatar-history-action recycle disabled"> 27 <?php esc_html_e( 'Recycle', 'buddypress' ); ?> 28 </button> 29 <button class="avatar-history-action delete disabled"> 30 <?php esc_html_e( 'Delete', 'buddypress' ); ?> 31 </button> 32 </div> 33 </div> 34 </script> 35 36 <script id="tmpl-bp-avatar-recycle-history-item" type="text/html"> 37 <td> 38 <label for="avatar_{{data.id}}"> 39 <input type="radio" name="avatar_id" value="{{data.id}}" id="avatar_{{data.id}}" class="<?php echo esc_attr( is_admin() && ! wp_doing_ajax() ? 'screen-reader-text' : 'bp-screen-reader-text' ); ?>"/> 40 <img src="{{{data.url}}}" id="{{data.id}}" class="avatar" width="<?php echo esc_attr( bp_core_avatar_thumb_width() ); ?>" height="<?php echo esc_attr( bp_core_avatar_thumb_height() ); ?>"/> 41 </label> 42 </td> 43 <td> 44 <span class="time">{{data.date}}</span> 45 </td> 46 </script>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |