| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
|
| 4 |
use AcyMailing\Helpers\SecurityHelper; |
| 5 |
|
| 6 |
?> |
| 7 |
<button class="shrink grid-x cell acy_button_submit button" type="button" data-task="createMail" data-and="__and__"> |
| 8 |
<?php echo esc_html(acym_translation('ACYM_CREATE_MAIL')); ?> |
| 9 |
</button> |
| 10 |
<input type="hidden" name="acym_action[actions][__and__][acy_add_queue][mail_id]"> |
| 11 |
<div class="shrink acym__automation__action__mail__name"></div> |
| 12 |
<div class="shrink margin-left-1 margin-right-1"> |
| 13 |
<?php echo esc_html(acym_strtolower(acym_translation('ACYM_OR'))); ?> |
| 14 |
</div> |
| 15 |
<button |
| 16 |
type="button" |
| 17 |
data-modal-name="acym__template__choose__modal__and__" |
| 18 |
data-open="acym__template__choose__modal" |
| 19 |
aria-controls="acym__template__choose__modal" |
| 20 |
tabindex="0" |
| 21 |
aria-haspopup="true" |
| 22 |
class="cell medium-shrink button-secondary auto button "> |
| 23 |
<?php echo esc_html(acym_translation('ACYM_CHOOSE_EXISTING')); ?> |
| 24 |
</button> |
| 25 |
<?php acym_info(['textShownInTooltip' => 'ACYM_CHOOSE_EXISTING_DESC', 'classContainer' => 'margin-left-0']); ?> |
| 26 |
<div class="medium-4 grid-x cell"> |
| 27 |
<?php |
| 28 |
echo wp_kses( |
| 29 |
acym_dateField('acym_action[actions][__and__][acy_add_queue][time]', '[time]', '', '', '+'), |
| 30 |
SecurityHelper::ALLOWED_HTML_DATE |
| 31 |
); |
| 32 |
?> |
| 33 |
</div> |
| 34 |
|
| 35 |
|