| @@ -1,0 +1,40 @@ | ||
| 1 | +<?php | |
| 2 | +defined('ABSPATH') || die('Restricted Access'); | |
| 3 | + | |
| 4 | +use AcyMailing\Classes\MailClass; | |
| 5 | + | |
| 6 | +?> | |
| 7 | + | |
| 8 | +<form id="acym_form" action="<?php echo esc_url(acym_completeLink('dashboard')); ?>" method="post" name="acyForm" data-abide novalidate> | |
| 9 | + <div id="acym__walkthrough"> | |
| 10 | + <div class="acym__walkthrough cell grid-x" id="acym__walkthrough__editor"> | |
| 11 | + <div class="acym__content cell text-center grid-x acym__walkthrough__content align-center"> | |
| 12 | + <h1 class="cell acym__title text-center"><?php echo esc_html(acym_translation('ACYM_YOUR_FIRST_EMAIL')); ?></h1> | |
| 13 | + | |
| 14 | + <div class="cell grid-x align-center margin-top-1"> | |
| 15 | + <div class="cell xxlarge-6 large-8 grid-x"> | |
| 16 | + <div class="cell"><?php echo esc_html(acym_translation('ACYM_PREVIEW_OF_THE_EMAIL')); ?></div> | |
| 17 | + </div> | |
| 18 | + </div> | |
| 19 | + | |
| 20 | + <div id="acym__walkthrough__editor__container" class="cell grid-x xxlarge-7 large-8"> | |
| 21 | + <input type="hidden" name="mail[id]" value="<?php echo esc_attr($data['mail']->id); ?>" /> | |
| 22 | + <input type="hidden" name="id" value="<?php echo esc_attr($data['mail']->id); ?>" /> | |
| 23 | + <input type="hidden" | |
| 24 | + id="acym__mail__edit__editor__social__icons" | |
| 25 | + value="<?php echo esc_attr($data['social_icons']); ?>"> | |
| 26 | + <input type="hidden" id="acym__mail__type" name="mail[type]" value="<?php echo esc_attr(MailClass::TYPE_STANDARD); ?>"> | |
| 27 | + <input type="hidden" name="task"> | |
| 28 | + <?php $data['editor']->display(); ?> | |
| 29 | + </div> | |
| 30 | + | |
| 31 | + <div class="cell grid-x grid-margin-x align-center margin-top-2"> | |
| 32 | + <button type="button" data-task="startUsing" class="cell shrink button button-secondary acy_button_submit"> | |
| 33 | + <?php echo esc_html(acym_translation('ACYM_START_USING')); ?> | |
| 34 | + </button> | |
| 35 | + </div> | |
| 36 | + </div> | |
| 37 | + </div> | |
| 38 | + </div> | |
| 39 | + <?php acym_formOptions(true, '', '', 'dashboard'); ?> | |
| 40 | +</form> | |