| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<form id="acym_form" action="<?php echo esc_url(acym_completeLink('dashboard')); ?>" method="post" name="acyForm" data-abide novalidate> |
| 5 |
<div id="acym__walkthrough"> |
| 6 |
<div class="acym__walkthrough cell grid-x" id="acym__walkthrough__acymailer"> |
| 7 |
<div class="acym__content cell grid-x acym__walkthrough__content align-center"> |
| 8 |
<?php |
| 9 |
$data['stepsType']->display( |
| 10 |
[ |
| 11 |
'currentStep' => 3, |
| 12 |
'totalSteps' => 3, |
| 13 |
] |
| 14 |
); |
| 15 |
?> |
| 16 |
|
| 17 |
<h1 class="cell acym__title text-center"><?php echo esc_html(acym_translation('ACYM_YOUR_SENDING_METHOD')); ?></h1> |
| 18 |
|
| 19 |
<div class="cell grid-x grid-margin-x align-center margin-top-3"> |
| 20 |
<div id="acym__walkthrough__acymailer__domain__container" class="cell xlarge-10 large-12 grid-x grid-margin-y margin-bottom-3"> |
| 21 |
<div class="cell grid-x large-6 align-left"> |
| 22 |
<h5 class="cell margin-bottom-2"><?php echo esc_html(acym_translation('ACYM_LICENSE_WITH_SENDING_SERVICE')); ?></h5> |
| 23 |
|
| 24 |
<div class="cell margin-bottom-1"><?php echo esc_html(acym_translation('ACYM_LETS_CONFIGURE')); ?></div> |
| 25 |
<div class="cell"><?php echo esc_html(acym_translation('ACYM_WALK_ACYMAILER_1')); ?></div> |
| 26 |
<div class="cell"><?php echo esc_html(acym_translationSprintf('ACYM_WALK_ACYMAILER_2', $data['suggestedDomain'])); ?></div> |
| 27 |
<div class="cell"> |
| 28 |
<?php echo esc_html(acym_translation('ACYM_WALK_ACYMAILER_3')); ?> |
| 29 |
<a target="_blank" |
| 30 |
id="acym__cname__documentation" |
| 31 |
href="<?php echo esc_url( |
| 32 |
ACYM_DOCUMENTATION |
| 33 |
); ?>external-sending-method/acymailing-sending-service#how-to-add-the-dns-entries-on-my-server"> |
| 34 |
<?php echo esc_html(acym_translation('ACYM_STEP_BY_STEP_GUIDE')); ?> |
| 35 |
</a> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
<div class="cell grid-x grid-margin-x align-center align-middle large-6"> |
| 39 |
<div class="cell grid-x grid-margin-x grid-margin-y align-center"> |
| 40 |
<div class="cell small-7 medium-8 large-9 xlarge-7"> |
| 41 |
<input id="acymailer_domain" |
| 42 |
class="cell medium-6 large-4 xlarge-3" |
| 43 |
type="text" |
| 44 |
autocomplete="off" |
| 45 |
value=""> |
| 46 |
<span id="acymailer_domain_error" class="medium-6 large-4 xlarge-3"></span> |
| 47 |
<?php if (!empty($data['suggestedDomain'])) { ?> |
| 48 |
<span id="acym__acymailer__unverifiedDomains"> |
| 49 |
<span class="acym__acymailer__oneSuggestion"><?php echo esc_html($data['suggestedDomain']); ?></span> |
| 50 |
</span> |
| 51 |
<?php } ?> |
| 52 |
</div> |
| 53 |
<div id="acym__configuration__sending__method_addDomain_submit" class="cell grid-x shrink acym_vcenter"> |
| 54 |
<button type="button" |
| 55 |
id="acym__walkthrough__acymailer__add_domain" |
| 56 |
class="cell shrink button button-secondary"> |
| 57 |
<?php echo esc_html(acym_translation('ACYM_ADD_MY_DOMAIN')); ?> |
| 58 |
</button> |
| 59 |
</div> |
| 60 |
<div class="cell grid-x align-center margin-top-1"> |
| 61 |
<i class="acym_vcenter acymicon-circle-o-notch acymicon-spin is-hidden" |
| 62 |
id="acym__walkthrough__acymailer__domain__spinner"></i> |
| 63 |
<div class="cell shrink grid-x acym_vcenter is-hidden" id="acym__walkthrough__acymailer__add__error"> |
| 64 |
<i class="acymicon-close acym__color__red cell shrink"></i> |
| 65 |
<span class="cell shrink" id="acym__walkthrough__acymailer__add__error__message"></span> |
| 66 |
</div> |
| 67 |
</div> |
| 68 |
</div> |
| 69 |
</div> |
| 70 |
</div> |
| 71 |
|
| 72 |
<div id="acym__walkthrough__acymailer__cname__container" class="cell xxlarge-8 large-10 grid-x margin-bottom-3 text-center is-hidden"> |
| 73 |
<div class="cell"><?php echo esc_html(acym_translation('ACYM_ADD_CNAME')); ?></div> |
| 74 |
<div class="cell"> |
| 75 |
<?php echo esc_html(acym_translation('ACYM_WALK_ACYMAILER_3')); ?> |
| 76 |
<a target="_blank" |
| 77 |
id="acym__cname__documentation" |
| 78 |
href="<?php echo esc_url(ACYM_DOCUMENTATION); ?>external-sending-method/acymailing-sending-service#how-to-add-the-dns-entries-on-my-server"> |
| 79 |
<?php echo esc_html(acym_translation('ACYM_STEP_BY_STEP_GUIDE')); ?> |
| 80 |
</a> |
| 81 |
</div> |
| 82 |
<div class="cell margin-top-1"><?php echo esc_html(acym_translation('ACYM_CHECK_STATUS_ANYTIME')); ?></div> |
| 83 |
|
| 84 |
<div class="cell grid-x acym__listing margin-top-3" id="acym__walkthrough__acymailer__domain__cname"> |
| 85 |
<div class="cell grid-x grid-margin-x margin-left-0 acym__listing__header text-left"> |
| 86 |
<div class="cell small-6 acym__listing__header__title"> |
| 87 |
<?php echo esc_html(acym_translation('ACYM_NAME')); ?> |
| 88 |
</div> |
| 89 |
<div class="cell small-6 acym__listing__header__title"> |
| 90 |
<?php echo esc_html(acym_translation('ACYM_VALUE')); ?> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
</div> |
| 95 |
</div> |
| 96 |
</div> |
| 97 |
<div class="cell acym__walkthrough_footer grid-x algin-center text-center"> |
| 98 |
<div id="acym__walkthrough_footer__domain__container" class="cell grid-x grid-margin-x margin-top-3 margin-bottom-2 text-center"> |
| 99 |
<h5 class="cell margin-bottom-1"><?php echo esc_html(acym_translation('ACYM_DONT_WANT_WAIT')); ?></h5> |
| 100 |
<div class="cell"><?php echo esc_html(acym_translation('ACYM_WALK_ACYMAILER_LATER')); ?></div> |
| 101 |
<div class="cell"><?php echo esc_html(acym_translation('ACYM_WALK_ACYMAILER_OTHER')); ?></div> |
| 102 |
</div> |
| 103 |
<div id="acym__walkthrough_footer__cname__container" class="cell grid-x grid-margin-x margin-top-3 margin-bottom-2 text-center align-center is-hidden"> |
| 104 |
<div class="cell xlarge-6"><?php echo esc_html(acym_translation('ACYM_WALK_FOOTER_SWITCH')); ?></div> |
| 105 |
<div class="cell"></div> |
| 106 |
<div class="cell xlarge-6"><?php echo esc_html(acym_translation('ACYM_WALK_FOOTER_DNS')); ?></div> |
| 107 |
<div class="cell margin-top-1"><?php echo esc_html(acym_translation('ACYM_WALK_FOOTER_USE')); ?></div> |
| 108 |
</div> |
| 109 |
<div class="cell grid-x grid-margin-x margin-bottom-2 align-center"> |
| 110 |
<button type="button" data-task="startUsing" class="cell shrink button acy_button_submit"> |
| 111 |
<?php echo esc_html(acym_translation('ACYM_START_USING')); ?> |
| 112 |
</button> |
| 113 |
<button type="button" data-task="tryEditor" class="cell shrink button button-secondary acy_button_submit"> |
| 114 |
<?php echo esc_html(acym_translation('ACYM_TEST_THE_EDITOR')); ?> |
| 115 |
</button> |
| 116 |
</div> |
| 117 |
</div> |
| 118 |
</div> |
| 119 |
</div> |
| 120 |
<?php acym_formOptions(true, '', '', 'dashboard'); ?> |
| 121 |
</form> |
| 122 |
|