| @@ -1,11 +1,17 @@ | ||
| 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 campaign filters box. |
| 4 | 10 | * |
| 5 | - * @author Eric Daams | |
| 11 | + * @author David Bisset | |
| 6 | 12 | * @package Charitable/Admin View/Campaigns Page |
| 7 | - * @copyright Copyright (c) 2018, Studio 164a | |
| 13 | + * @copyright Copyright (c) 2023, WP Charitable LLC | |
| 8 | 14 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 | 15 | * @since 1.6.0 |
| 10 | 16 | * @version 1.6.0 |
| 11 | 17 | */ |
| @@ -10,7 +16,7 @@ | ||
| 10 | 16 | * @version 1.6.0 |
| 11 | 17 | */ |
| 12 | 18 | |
| 13 | 19 | ?> |
| 14 | -<div class="alignleft actions charitable-export-actions"> | |
| 15 | - <a href="#charitable-campaigns-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> | |
| 20 | +<div class="alignleft actions charitable-export-actions charitable-campaign-export-actions"> | |
| 21 | + <a href="#charitable-campaigns-export-modal" title="<?php esc_html_e( 'Export', 'charitable' ); ?>" class="campaign-export-with-icon trigger-modal hide-if-no-js" data-trigger-modal="charitable-campaigns-export-modal"><img src="<?php echo esc_url( charitable()->get_path( 'directory', false ) ) . 'assets/images/icons/export.svg'; ?>" alt="<?php esc_html_e( 'Export', 'charitable' ); ?>" /><label><?php esc_html_e( 'Export', 'charitable' ); ?></label></a> | |
| 16 | 22 | </div> |