PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / trunk
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress vtrunk
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Views / Dashboard / tmpl / step_license.php

step_license.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress trunk, at back/Views/Dashboard/tmpl/step_license.php

104 lines 4.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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__license">
7 <div class="acym__content cell text-center grid-x acym__walkthrough__content align-center">
8 <?php
9 $data['stepsType']->display(
10 [
11 'currentStep' => 2,
12 'totalSteps' => 3,
13 ]
14 );
15 ?>
16
17 <h1 class="cell acym__title text-center"><?php echo esc_html(acym_translation('ACYM_CONNECT_YOUR_ACYMAILING_LICENSE')); ?></h1>
18 <div class="cell">
19 <p>
20 <?php
21 if (acym_level(ACYM_ESSENTIAL)) {
22 echo esc_html(acym_translationSprintf('ACYM_ENTER_LICENSE_KEY_TO_ACTIVATE_ACYM_X_FEATURES', $data['level']));
23 } else {
24 echo esc_html(acym_translation('ACYM_STARTER_LICENSE_KEY'));
25 }
26 ?>
27 </p>
28 <p> (<?php acym_externalLink('ACYM_FIND_YOUR_LICENSE', ACYM_ACYMAILING_WEBSITE.'account/license/'); ?>)</p>
29 </div>
30
31 <div class="cell grid-x align-center margin-top-3 margin-bottom-3">
32 <div class="cell large-10 xlarge-8 xxlarge-6 grid-x grid-margin-y text-left">
33 <div class="cell grid-x grid-margin-x">
34 <label class="cell large-3" for="acym__walkthrough__license__key">
35 <?php echo esc_html(acym_translation('ACYM_YOUR_LICENSE_KEY'));
36 acym_info(['textShownInTooltip' => 'ACYM_LICENSE_DESC']); ?>
37 </label>
38 <div class="cell large-9 grid-x grid-margin-x">
39 <input class="cell small-6 margin-left-0"
40 type="text"
41 name="config[license_key]"
42 id="acym__walkthrough__license__key"
43 value="">
44 <div class="cell small-6 grid-x grid-margin-x">
45 <button type="button"
46 id="acym__walk_through_license__button__license"
47 class="cell small-8 button margin-bottom-0">
48 <?php echo esc_html(acym_translation('ACYM_ATTACH_MY_LICENSE')); ?>
49 </button>
50 <i class="cell small-4 acymicon-circle-o-notch acymicon-spin is-hidden"
51 id="acym__walkthrough__license__spinner__attach"></i>
52 </div>
53 </div>
54 </div>
55
56 <div class="cell grid-x grid-margin-x">
57 <label class="cell large-3">
58 <?php echo esc_html(acym_translation('ACYM_STATUS_ACTIVATION')); ?>
59 </label>
60 <div class="cell large-9 acym__color__red" id="acym__walk_through_license__licenseStatus">
61 <?php echo esc_html(acym_translation('ACYM_NOT_ENABLED_YET')); ?>
62 </div>
63 </div>
64
65 <?php if (acym_level(ACYM_ESSENTIAL)) { ?>
66 <div class="cell grid-x grid-margin-x">
67 <label class="cell large-3">
68 <?php echo esc_html(acym_translation('ACYM_AUTOMATED_TASKS'));
69 acym_info(['textShownInTooltip' => 'ACYM_AUTOMATED_TASKS_DESC']); ?>
70 </label>
71 <div class="cell large-9 grid-x grid-margin-x">
72 <div class="cell small-6 margin-left-0 acym__color__red" id="acym__walk_through_license__cron_label">
73 <?php echo esc_html(acym_translation('ACYM_DEACTIVATED')); ?>
74 </div>
75 <div class="cell shrink grid-x grid-margin-x">
76 <?php
77 acym_tooltip(
78 [
79 'hoveredText' => '<a type="button"
80 id="acym__walkthrough__license__button__cron"
81 class="grid-x align-center acym_vcenter button"
82 disabled>'.acym_translation('ACYM_ACTIVATE_IT').'</a>',
83 'textShownInTooltip' => acym_translation('ACYM_ACTIVATE_IT_CRON_DESC'),
84 'classContainer' => 'cell small-8',
85 'classText' => 'acym__tooltip_button__cron',
86 ]
87 );
88 ?>
89 <i class="cell small-4 acymicon-circle-o-notch acymicon-spin is-hidden"
90 id="acym__walkthrough__license__spinner__cron"></i>
91 </div>
92 </div>
93 </div>
94 <?php } ?>
95 </div>
96 </div>
97
98 <button type="submit" class="button"><?php echo esc_html(acym_translation('ACYM_CONTINUE')); ?></button>
99 </div>
100 </div>
101 </div>
102 <?php acym_formOptions(true, 'saveStepLicense', '', 'dashboard'); ?>
103 </form>
104