html-order-download-permission.php
6 years ago
html-order-fee.php
3 months ago
html-order-item-meta.php
4 years ago
html-order-item.php
9 months ago
html-order-items.php
1 month ago
html-order-notes.php
1 month ago
html-order-refund.php
3 months ago
html-order-shipping.php
3 months ago
html-product-attribute-inner.php
1 month ago
html-product-attribute.php
3 years ago
html-product-data-advanced.php
5 months ago
html-product-data-attributes.php
1 month ago
html-product-data-general.php
2 months ago
html-product-data-inventory.php
4 months ago
html-product-data-linked-products.php
3 months ago
html-product-data-panel.php
1 year ago
html-product-data-shipping.php
3 years ago
html-product-data-variations.php
1 month ago
html-product-download.php
4 months ago
html-product-variation-download.php
4 months ago
html-variation-admin.php
1 month ago
html-product-download.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Template used to form individual rows within the downloadable files table. |
| 4 | * |
| 5 | * @package WooCommerce\Admin\Views |
| 6 | * |
| 7 | * @var bool $disabled_download Indicates if the current downloadable file is disabled. |
| 8 | * @var array $file Product download data. |
| 9 | * @var string $key Product download key. |
| 10 | */ |
| 11 | |
| 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | exit; |
| 14 | } |
| 15 | ?> |
| 16 | <tr> |
| 17 | <td class="sort"></td> |
| 18 | <td class="file_name"> |
| 19 | <input type="text" class="input_text" placeholder="<?php esc_attr_e( 'File name', 'woocommerce' ); ?>" name="_wc_file_names[]" value="<?php echo esc_attr( $file['name'] ); ?>" /> |
| 20 | <input type="hidden" name="_wc_file_hashes[]" value="<?php echo esc_attr( $key ); ?>" /> |
| 21 | </td> |
| 22 | <td class="file_url"> |
| 23 | <input type="text" class="input_text" placeholder="<?php esc_attr_e( 'https://', 'woocommerce' ); ?>" name="_wc_file_urls[]" value="<?php echo esc_attr( $file['file'] ); ?>" /> |
| 24 | <?php if ( $disabled_download ) : ?> |
| 25 | <span class="disabled">*</span> |
| 26 | <?php endif; ?> |
| 27 | </td> |
| 28 | <td class="file_url_choose" width="1%"><a href="#" class="button upload_file_button" data-choose="<?php esc_attr_e( 'Choose file', 'woocommerce' ); ?>" data-update="<?php esc_attr_e( 'Insert file URL', 'woocommerce' ); ?>"><?php echo esc_html__( 'Choose file', 'woocommerce' ); ?></a></td> |
| 29 | <td width="1%"><a href="#" class="delete"><?php esc_html_e( 'Delete', 'woocommerce' ); ?></a></td> |
| 30 | </tr> |
| 31 |