PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.0.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.0.1
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 / Campaigns / tmpl / tests_mailtester.php

tests_mailtester.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 10.0.1, at back/Views/Campaigns/tmpl/tests_mailtester.php

96 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div id="spam_test_zone" class="cell">
2 <h6 class="acym__title acym__title__secondary"><?php echo acym_translation('ACYM_SAFE_CHECK').acym_info('ACYM_INTRO_SAFE_CHECK'); ?></h6>
3 <p class="margin-bottom-1"><?php echo acym_translation('ACYM_SAFE_CHECK_DESC'); ?></p>
4 <?php
5 if (count($data['emails_to_test']) > 1) { ?>
6 <div class="margin-bottom-1 cell grid-x">
7 <p class="cell">
8 <?php echo acym_translation('ACYM_SELECT_VERSION_TO_TEST'); ?>
9 </p>
10 <div class="cell">
11 <?php echo acym_select($data['emails_to_test'], 'mail_id_test', $data['id'], ['class' => 'acym__select'], 'id', 'subject'); ?>
12 </div>
13 </div>
14 <?php } ?>
15 <div class="grid-x align-center">
16 <div class="cell">
17 <?php
18 ?>
19 </div>
20 <?php
21 $icon = empty($data['upgrade'])
22 ? '<i></i>'
23 : acym_tooltip(
24 [
25 'hoveredText' => '<i class="acymicon-question-circle-o"></i>',
26 'textShownInTooltip' => acym_translation('ACYM_NEED_PRO_VERSION'),
27 ]
28 );
29 $iconSpamTest = acym_level(ACYM_ENTERPRISE)
30 ? '<i></i>'
31 : acym_tooltip(
32 [
33 'hoveredText' => '<i class="acymicon-question-circle-o"></i>',
34 'textShownInTooltip' => acym_translation('ACYM_NEED_ENTERPRISE_VERSION'),
35 ]
36 );
37 $classContainer = 'is-hidden';
38 if (!empty($data['upgrade'])) $classContainer = 'acym__campaigns__tests__starter';
39 ?>
40 <div class="cell grid-x <?php echo $classContainer; ?>" id="safe_check_results">
41 <div class="cell grid-x acym_vcenter" id="check_words">
42 <div class="cell small-10"><?php echo acym_translation('ACYM_TESTS_SAFE_CONTENT'); ?></div>
43 <div class="cell small-2 text-center acym_icon_container"><?php echo $icon; ?></div>
44 </div>
45 <div class="cell acym_check_results"></div>
46
47 <div class="cell grid-x acym_vcenter" id="check_links">
48 <div class="cell small-10"><?php echo acym_translation('ACYM_TESTS_LINKS'); ?></div>
49 <div class="cell small-2 text-center acym_icon_container"><?php echo $icon; ?></div>
50 </div>
51 <div class="cell acym_check_results"></div>
52
53 <?php
54 $spamTestRow = '';
55 $dataModal = '';
56 if (ACYM_PRODUCTION) {
57 $spamTestRow = '<div class="cell grid-x acym_vcenter" id="check_spam" data-iframe="spamtestpopup" data-iframe-class="acym__iframe_spamtest">
58 <div class="cell small-10">'.acym_translation('ACYM_TESTS_SPAM').'</div>
59 <div class="cell small-2 text-center acym_icon_container">'.$iconSpamTest.'</div>
60 </div>';
61 }
62
63
64 echo acym_modal(
65 $spamTestRow,
66 $dataModal,
67 'spamtestpopup',
68 'data-reveal-larger',
69 '',
70 false
71 );
72 ?>
73 <div class="cell acym_check_results"></div>
74 <div class="cell text-center <?php echo ACYM_PRODUCTION ? 'is-hidden' : ''; ?>" id="acym_spam_test_details">
75 <button type="button" class="button button-secondary"><?php echo acym_translation('ACYM_DETAILS'); ?></button>
76 </div>
77 </div>
78 <?php
79 if (!acym_level(ACYM_ENTERPRISE)) {
80 $blocDisplay = '';
81 $getProBtn = acym_buttonGetProVersion();
82 if (acym_level(ACYM_ESSENTIAL)) {
83 $blocDisplay = 'style="display:none;"';
84 $getProBtn = acym_buttonGetProVersion('cell shrink', 'ACYM_GET_ENTERPRISE_VERSION');
85 }
86 echo '<div class="cell grid-x grid-margin-x margin-top-2 align-center acym__campaigns__test__pro" '.$blocDisplay.'>';
87 echo '<a href="'.ACYM_DOCUMENTATION.'main-pages/campaigns/tests" target="_blank" class="button button-secondary cell shrink">';
88 echo acym_translation('ACYM_SEE_MORE');
89 echo '</a>';
90 echo $getProBtn;
91 echo '</div>';
92 }
93 ?>
94 </div>
95 </div>
96