[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/ -> crop.php (source)

   1  <?php
   2  /**
   3   * BuddyPress Avatars crop template.
   4   *
   5   * This template is used to create the crop Backbone views.
   6   *
   7   * @since 2.3.0
   8   *
   9   * @package BuddyPress
  10   * @subpackage bp-attachments
  11   * @version 3.0.0
  12   */
  13  
  14  ?>
  15  <script id="tmpl-bp-avatar-item" type="text/html">
  16      <div id="avatar-to-crop">
  17          <img src="{{{data.url}}}"/>
  18      </div>
  19      <div class="avatar-crop-management">
  20          <div id="avatar-crop-pane" class="avatar" style="width:{{data.full_w}}px; height:{{data.full_h}}px">
  21              <img src="{{{data.url}}}" id="avatar-crop-preview"/>
  22          </div>
  23          <div id="avatar-crop-actions">
  24              <a class="button avatar-crop-submit" href="#"><?php esc_html_e( 'Crop Image', 'buddypress' ); ?></a>
  25          </div>
  26      </div>
  27  </script>


Generated: Wed Apr 17 01:01:03 2024 Cross-referenced by PHPXref 0.7.1