| @@ -1,13 +1,20 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 3 | +// Exit if accessed directly. | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | + | |
| 2 | 8 | /** |
| 3 | 9 | * Display the export button in the donation filters box. |
| 4 | 10 | * |
| 5 | - * @author Studio 164a | |
| 11 | + * @author WP Charitable LLC | |
| 6 | 12 | * @package Charitable/Admin View/Donations Page |
| 7 | 13 | * @since 1.0.0 |
| 14 | + * @version 1.0.0 | |
| 8 | 15 | */ |
| 9 | 16 | |
| 10 | 17 | ?> |
| 11 | -<div class="alignleft actions charitable-export-actions"> | |
| 12 | - <a href="#charitable-donations-export-modal" class="charitable-export-button button dashicons-before dashicons-download trigger-modal hide-if-no-js" data-trigger-modal><?php _e( 'Export', 'charitable' ); ?></a> | |
| 18 | +<div class="alignleft actions charitable-export-actions charitable-donation-export-actions"> | |
| 19 | + <a href="#charitable-donations-export-modal" title="<?php esc_attr_e( 'Export', 'charitable' ); ?>" class="donation-export-with-icon trigger-modal hide-if-no-js" data-trigger-modal="charitable-donations-export-modal"><img src="<?php echo esc_url( charitable()->get_path( 'directory', false ) ) . 'assets/images/icons/export.svg'; ?>" alt="<?php esc_attr_e( 'Export', 'charitable' ); ?>" /><label><?php esc_html_e( 'Export', 'charitable' ); ?></label></a> | |
| 13 | 20 | </div> |