| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<div id="acym__wysid__send__test" class="cell grid-y" style="display: flex"> |
| 5 |
<div class="cell text-center margin-bottom-3 margin-top-1"> |
| 6 |
<i class="acymicon-paper-plane acym__wysid__send__test__icon"></i> |
| 7 |
<div class="acym__wysid__send__test__icon__loader"><?php acym_loaderLogo(); ?></div> |
| 8 |
</div> |
| 9 |
<i class="acymicon-close acym__wysid__send__test-close"></i> |
| 10 |
<div class="cell acym__wysid__send__test__title margin-bottom-2 acym__title acym__title__secondary"> |
| 11 |
<?php echo esc_html(acym_translation('ACYM_SEE_HOW_AMAZING_YOUR_EMAIL')); ?> |
| 12 |
</div> |
| 13 |
<label for="acym__wysid__send__test__select"><?php echo esc_html(acym_translation('ACYM_SEND_TEST_TO')); ?></label> |
| 14 |
<?php |
| 15 |
if (acym_isAdmin()) { |
| 16 |
acym_selectMultiple( |
| 17 |
$this->emailsTest, |
| 18 |
'emails_test', |
| 19 |
$this->emailsTest, |
| 20 |
[ |
| 21 |
'class' => 'acym__multiselect__email', |
| 22 |
'placeholder' => acym_translation('ACYM_TEST_ADDRESS'), |
| 23 |
], |
| 24 |
'value', |
| 25 |
'text', |
| 26 |
true |
| 27 |
); |
| 28 |
} else { |
| 29 |
echo '<input type="text" name="emails_test" value="'.esc_attr(implode(',', $this->emailsTest)).'">'; |
| 30 |
} |
| 31 |
?> |
| 32 |
<label class="margin-top-1"> |
| 33 |
<?php echo esc_html(acym_translation('ACYM_TEST_NOTE')); ?> |
| 34 |
<textarea |
| 35 |
id="acym__wysid__send__test__note" |
| 36 |
name="test_note" |
| 37 |
type="text" |
| 38 |
placeholder="<?php echo esc_attr(acym_translation('ACYM_TEST_NOTE_PLACEHOLDER')); ?>"></textarea> |
| 39 |
</label> |
| 40 |
<div class="cell grid-x align-center acym__wysid__send__test__container__button"> |
| 41 |
<button type="button" class="cell shrink button" id="acym__wysid__send__test__button"><?php echo esc_html(acym_translation('ACYM_SAVE_AND_SEND_TEST')); ?></button> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
|