PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
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
← All changes | back/Views/Configuration/tmpl/subscription.php +492 -474 10.1.4 → 11.1.0 View file →
@@ -1,543 +1,561 @@
1 -<div class="acym__configuration__subscription acym__content acym_area padding-vertical-1 padding-horizontal-2">
2 - <div class="acym__title acym__title__secondary"><?php echo acym_translation('ACYM_SUBSCRIPTION'); ?></div>
3 - <div class="grid-x margin-y">
4 - <div class="cell grid-x grid-margin-x">
5 - <?php echo acym_switch(
6 - 'config[allow_visitor]',
7 - $this->config->get('allow_visitor'),
8 - acym_translation('ACYM_ALLOW_VISITOR'),
9 - [],
10 - 'xlarge-3 medium-5 small-9',
11 - 'auto'
12 - ); ?>
13 - </div>
14 - <div class="cell grid-x grid-margin-x">
15 - <?php
16 - echo acym_switch(
17 - 'config[generate_name]',
18 - $this->config->get('generate_name'),
19 - acym_translation('ACYM_GENERATE_NAME').acym_info('ACYM_GENERATE_NAME_DESC'),
20 - [],
21 - 'xlarge-3 medium-5 small-9',
22 - 'auto'
23 - );
24 - ?>
25 - </div>
26 - <div class="cell grid-x grid-margin-x">
27 - <?php
28 - echo acym_switch(
29 - 'config[require_confirmation]',
30 - $this->config->get('require_confirmation'),
31 - acym_translation('ACYM_REQUIRE_CONFIRMATION').acym_info('ACYM_REQUIRE_CONFIRMATION_DESC'),
32 - [],
33 - 'xlarge-3 medium-5 small-9',
34 - 'auto',
35 - '',
36 - 'confirm_config'
37 - );
38 - ?>
39 - </div>
40 - <div class="cell grid-x" id="confirm_config">
41 - <div class="cell grid-x">
42 - <div class="cell xlarge-3 medium-5"></div>
43 - <div class="cell medium-auto">
44 - <?php if (acym_isAllowed('mails')) { ?>
45 - <a class="button button-secondary margin-bottom-1"
46 - href="<?php echo acym_completeLink('mails&task=edit&notification=acy_confirm'); ?>">
47 - <?php echo acym_translation('ACYM_EDIT_EMAIL'); ?>
48 - </a>
49 - <?php } ?>
1 +<?php
2 +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals.
3 +defined('ABSPATH') || die('Restricted Access');
4 +?>
5 + <div class="acym__configuration__subscription acym__content acym_area padding-vertical-1 padding-horizontal-2">
6 + <div class="acym__title acym__title__secondary"><?php echo esc_html(acym_translation('ACYM_SUBSCRIPTION')); ?></div>
7 + <div class="grid-x margin-y">
8 + <div class="cell grid-x grid-margin-x">
9 + <?php acym_switch([
10 + 'name' => 'config[allow_visitor]',
11 + 'value' => $this->config->get('allow_visitor'),
12 + 'label' => acym_translation('ACYM_ALLOW_VISITOR'),
13 + 'labelClass' => 'xlarge-3 medium-5 small-9',
14 + ]); ?>
15 + </div>
16 + <div class="cell grid-x grid-margin-x">
17 + <?php
18 + acym_switch([
19 + 'name' => 'config[generate_name]',
20 + 'value' => $this->config->get('generate_name'),
21 + 'label' => acym_translation('ACYM_GENERATE_NAME'),
22 + 'tip' => ['textShownInTooltip' => 'ACYM_GENERATE_NAME_DESC'],
23 + 'labelClass' => 'xlarge-3 medium-5 small-9',
24 + ]);
25 + ?>
26 + </div>
27 + <div class="cell grid-x grid-margin-x">
28 + <?php
29 + acym_switch([
30 + 'name' => 'config[require_confirmation]',
31 + 'value' => $this->config->get('require_confirmation'),
32 + 'label' => acym_translation('ACYM_REQUIRE_CONFIRMATION'),
33 + 'tip' => ['textShownInTooltip' => 'ACYM_REQUIRE_CONFIRMATION_DESC'],
34 + 'labelClass' => 'xlarge-3 medium-5 small-9',
35 + 'toggle' => 'confirm_config',
36 + ]);
37 + ?>
38 + </div>
39 + <div class="cell grid-x" id="confirm_config">
40 + <div class="cell grid-x">
41 + <div class="cell xlarge-3 medium-5"></div>
42 + <div class="cell medium-auto">
43 + <?php if (acym_isAllowed('mails')) { ?>
44 + <a class="button button-secondary margin-bottom-1"
45 + href="<?php echo esc_url(
46 + acym_completeLink('mails&task=edit&notification=acy_confirm&return='.urlencode(base64_encode(acym_completeLink('configuration'))))
47 + ); ?>">
48 + <?php echo esc_html(acym_translation('ACYM_EDIT_EMAIL')); ?>
49 + </a>
50 + <?php } ?>
51 + </div>
50 52 </div>
53 + <label for="confirm_redirect" class="cell grid-x margin-bottom-1">
54 + <span class="cell xlarge-3 medium-5 acym_vcenter"><?php echo esc_html(acym_translation('ACYM_CONFIRMATION_REDIRECTION')); ?></span>
55 + <input id="confirm_redirect"
56 + class="cell xlarge-4 medium-auto margin-bottom-0"
57 + type="text"
58 + name="config[confirm_redirect]"
59 + value="<?php echo esc_attr($this->config->get('confirm_redirect')); ?>">
60 + <span class="cell large-auto hide-for-large-only hide-for-medium-only"></span>
61 + </label>
51 62 </div>
52 - <label for="confirm_redirect" class="cell grid-x margin-bottom-1">
53 - <span class="cell xlarge-3 medium-5 acym_vcenter"><?php echo acym_translation('ACYM_CONFIRMATION_REDIRECTION'); ?></span>
54 - <input id="confirm_redirect"
55 - class="cell xlarge-4 medium-auto margin-bottom-0"
56 - type="text"
57 - name="config[confirm_redirect]"
58 - value="<?php echo acym_escape($this->config->get('confirm_redirect')); ?>">
59 - <span class="cell large-auto hide-for-large-only hide-for-medium-only"></span>
60 - </label>
63 + <div class="cell medium-3">
64 + <?php
65 + echo esc_html(acym_translation('ACYM_ALLOW_MODIFICATION_UNAUTH'));
66 + echo '&nbsp;';
67 + acym_info(['textShownInTooltip' => 'ACYM_ALLOW_MODIFICATION_DESC']);
68 + ?>
69 + </div>
70 + <div class="cell medium-9">
71 + <?php
72 + $allowModif = [
73 + 'none' => acym_translation('ACYM_NO'),
74 + 'data' => acym_translation('ACYM_ALLOW_ONLY_THEIRS'),
75 + 'all' => acym_translation('ACYM_YES'),
76 + ];
77 + acym_radio($allowModif, 'config[allow_modif]', $this->config->get('allow_modif', 'data'));
78 + ?>
79 + </div>
80 + <div class="cell grid-x grid-margin-x">
81 + <?php
82 + acym_switch([
83 + 'name' => 'config[extra_errors]',
84 + 'value' => $this->config->get('extra_errors'),
85 + 'label' => acym_translation('ACYM_EXTRA_ERRORS'),
86 + 'tip' => ['textShownInTooltip' => 'ACYM_EXTRA_ERRORS_DESC'],
87 + 'labelClass' => 'xlarge-3 medium-5 small-9',
88 + 'toggle' => 'extra_errors',
89 + ]);
90 + ?>
91 + </div>
61 92 </div>
62 - <div class="cell medium-3">
63 - <?php
64 - echo acym_translation('ACYM_ALLOW_MODIFICATION_UNAUTH');
65 - echo '&nbsp;'.acym_info('ACYM_ALLOW_MODIFICATION_DESC');
66 - ?>
67 - </div>
68 - <div class="cell medium-9">
69 - <?php
70 - $allowModif = [
71 - 'none' => acym_translation('ACYM_NO'),
72 - 'data' => acym_translation('ACYM_ALLOW_ONLY_THEIRS'),
73 - 'all' => acym_translation('ACYM_YES'),
74 - ];
75 - echo acym_radio($allowModif, 'config[allow_modif]', $this->config->get('allow_modif', 'data'));
76 - ?>
77 - </div>
78 - <div class="cell grid-x grid-margin-x">
79 - <?php
80 - echo acym_switch(
81 - 'config[extra_errors]',
82 - $this->config->get('extra_errors'),
83 - acym_translation('ACYM_EXTRA_ERRORS').acym_info('ACYM_EXTRA_ERRORS_DESC'),
84 - [],
85 - 'xlarge-3 medium-5 small-9',
86 - 'auto',
87 - '',
88 - 'extra_errors'
89 - );
90 - ?>
91 - </div>
92 93 </div>
93 -</div>
94 94
95 -<div class="acym__content acym_area padding-vertical-1 padding-horizontal-2">
96 - <div class="cell grid-x acym__configuration__showmore-head">
97 - <div class="acym__title acym__title__secondary cell auto margin-bottom-0"><?php echo acym_translation('ACYM_CONFIGURATION_ADVANCED'); ?></div>
98 - <div class="cell shrink">
99 - <?php echo acym_showMore('acym__configuration__subscription__notifications'); ?>
95 + <div class="acym__content acym_area padding-vertical-1 padding-horizontal-2">
96 + <div class="cell grid-x acym__configuration__showmore-head">
97 + <div class="acym__title acym__title__secondary cell auto margin-bottom-0"><?php echo esc_html(acym_translation('ACYM_CONFIGURATION_ADVANCED')); ?></div>
98 + <div class="cell shrink">
99 + <?php acym_showMore('acym__configuration__subscription__notifications'); ?>
100 + </div>
100 101 </div>
101 - </div>
102 - <div id="acym__configuration__subscription__notifications" style="display: none;">
103 - <div class="cell margin-bottom-2 grid-x margin-y">
104 - <div class="acym__title acym__title__secondary"><?php echo acym_translation('ACYM_NOTIFICATIONS'); ?></div>
105 - <?php
106 - foreach ($data['notifications'] as $identifier => $notification) {
107 - ?>
108 - <div class="cell grid-x grid-margin-x">
109 - <div class="cell xlarge-3">
110 - <label for="acym__config__<?php echo acym_escape($identifier); ?>">
111 - <?php echo acym_escape(acym_translation($notification['label'])); ?>
112 - </label>
113 - </div>
114 - <div class="cell xlarge-4 large-5 medium-6">
115 - <?php
116 - $saved = explode(',', $this->config->get($identifier));
117 - $selected = [];
118 - foreach ($saved as $i => $value) {
119 - if (acym_isValidEmail($value)) {
120 - $selected[$value] = $value;
102 + <div id="acym__configuration__subscription__notifications" style="display: none;">
103 + <div class="cell margin-bottom-2 grid-x margin-y">
104 + <div class="acym__title acym__title__secondary"><?php echo esc_html(acym_translation('ACYM_NOTIFICATIONS')); ?></div>
105 + <?php
106 + foreach ($data['notifications'] as $identifier => $notification) {
107 + ?>
108 + <div class="cell grid-x grid-margin-x">
109 + <div class="cell xlarge-3">
110 + <label for="acym__config__<?php echo esc_attr($identifier); ?>">
111 + <?php echo esc_html(acym_translation($notification['label'])); ?>
112 + </label>
113 + </div>
114 + <div class="cell xlarge-4 large-5 medium-6">
115 + <?php
116 + $saved = explode(',', $this->config->get($identifier));
117 + $selected = [];
118 + foreach ($saved as $i => $value) {
119 + if (acym_isValidEmail($value)) {
120 + $selected[$value] = $value;
121 + }
121 122 }
122 - }
123 123
124 - echo acym_selectMultiple(
125 - $selected,
126 - 'config['.acym_escape($identifier).']',
127 - $selected,
128 - [
129 - 'id' => 'acym__config__'.acym_escape($identifier),
130 - 'class' => 'acym__multiselect__email',
131 - ]
132 - );
133 - ?>
124 + acym_selectMultiple(
125 + $selected,
126 + 'config['.esc_attr($identifier).']',
127 + $selected,
128 + [
129 + 'id' => 'acym__config__'.esc_attr($identifier),
130 + 'class' => 'acym__multiselect__email',
131 + ],
132 + 'value',
133 + 'text',
134 + true
135 + );
136 + ?>
137 + </div>
138 + <div class="cell large-2 medium-4 shrink grid-x">
139 + <?php if (acym_isAllowed('mails')) { ?>
140 + <a class="cell shrink button button-secondary acym__configuration__edit-email"
141 + href="<?php echo esc_url(
142 + acym_completeLink(
143 + 'mails&task=edit&notification='.$identifier.'&return='.urlencode(base64_encode(acym_completeLink('configuration')))
144 + )
145 + ); ?>">
146 + <?php echo esc_html(acym_translation('ACYM_EDIT_EMAIL')); ?>
147 + </a>
148 + <?php } ?>
149 + </div>
150 + <div class="cell xxlarge-2 xlarge-1 hide-for-large-only medium-2 hide-for-small-only"></div>
134 151 </div>
135 - <div class="cell large-2 medium-4 shrink grid-x">
136 - <?php if (acym_isAllowed('mails')) { ?>
137 - <a class="cell shrink button button-secondary acym__configuration__edit-email"
138 - href="<?php echo acym_completeLink('mails&task=edit&notification='.$identifier); ?>">
139 - <?php echo acym_translation('ACYM_EDIT_EMAIL'); ?>
140 - </a>
141 - <?php } ?>
142 - </div>
143 - <div class="cell xxlarge-2 xlarge-1 hide-for-large-only medium-2 hide-for-small-only"></div>
144 - </div>
145 - <?php
146 - }
147 - ?>
148 - </div>
149 - <div class="cell margin-bottom-2">
150 - <div class="acym__title acym__title__secondary"><?php echo acym_translation('ACYM_UNSUBSCRIBE_PAGE'); ?></div>
151 - <div class="grid-x grid-margin-x margin-y">
152 - <div class="cell grid-x margin-top-1">
153 152 <?php
154 - echo acym_switch(
155 - 'config[unsubscribe_page]',
156 - $this->config->get('unsubscribe_page', 1),
157 - acym_translation('ACYM_REDIRECT_ON_UNSUBSCRIBE_PAGE'),
158 - [],
159 - 'xlarge-3 medium-5 small-9',
160 - 'auto',
161 - '',
162 - 'unsubpage_settings'
163 - );
164 - ?>
165 - </div>
166 - <div class="cell grid-x margin-bottom-1" id="unsubpage_settings">
167 - <div class="cell grid-x margin-bottom-1">
153 + }
154 + ?>
155 + </div>
156 + <div class="cell margin-bottom-2">
157 + <div class="acym__title acym__title__secondary"><?php echo esc_html(acym_translation('ACYM_UNSUBSCRIBE_PAGE')); ?></div>
158 + <div class="grid-x grid-margin-x margin-y">
159 + <div class="cell grid-x margin-top-1">
168 160 <?php
169 - echo acym_switch(
170 - 'config[unsubscribe_campaign_list_only]',
171 - $this->config->get('unsubscribe_campaign_list_only', 0),
172 - acym_translation('ACYM_CAMPAIGN_LIST_ONLY'),
173 - [],
174 - 'xlarge-3'
175 - );
161 + acym_switch([
162 + 'name' => 'config[unsubscribe_page]',
163 + 'value' => $this->config->get('unsubscribe_page', 1),
164 + 'label' => acym_translation('ACYM_REDIRECT_ON_UNSUBSCRIBE_PAGE'),
165 + 'labelClass' => 'xlarge-3 medium-5 small-9',
166 + 'toggle' => 'unsubpage_settings',
167 + ]);
176 168 ?>
177 169 </div>
178 - <div class="cell grid-x margin-bottom-1">
179 - <label for="acym__configuration__subscription__unsub-title" class="cell xlarge-3"><?php echo acym_translation(
180 - 'ACYM_UNSUBSCRIBE_PAGE_CHANGE'
181 - ); ?></label>
182 - <input id="acym__configuration__subscription__unsub-title"
183 - class="cell xlarge-4 large-5 medium-6"
184 - type="text"
185 - name="config[unsubscribe_title]"
186 - value="<?php echo acym_escape($this->config->get('unsubscribe_title', '')); ?>">
187 - <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
188 - </div>
189 - <div class="cell grid-x margin-bottom-1">
190 - <label for="acym__config__settings__color-picker" class="cell xlarge-3"><?php echo acym_translation(
191 - 'ACYM_UNSUBSCRIBE_PAGE_COLOR'
192 - ); ?></label>
193 - <p class="cell margin-bottom-1 small-6" id="acym__config__settings__unsub-color">
194 - <input type="text"
195 - name="config[unsubscribe_color]"
196 - id="acym__config__settings__color-picker"
197 - value="<?php echo acym_escape($this->config->get('unsubscribe_color', '#00a4ff')); ?>" />
198 - </p>
199 - </div>
200 - <div class="cell grid-x margin-bottom-1">
201 - <label for="acym__configuration__subscription__unsub-logo" class="cell xlarge-3"><?php echo acym_translation(
202 - 'ACYM_UNSUBSCRIBE_PAGE_LOGO'
203 - ); ?></label>
204 - <button type="button" class="cell shrink button button-secondary margin-bottom-0" id="acym__unsubscribe__logo">
205 - <?php echo acym_translation('ACYM_UPLOAD_IMAGE'); ?>
206 - </button>
207 - <span class="cell grid-x acym_vcenter shrink acym__unsub__logo__text margin-left-1">
170 + <div class="cell grid-x margin-bottom-1" id="unsubpage_settings">
171 + <div class="cell grid-x margin-bottom-1">
172 + <?php
173 + acym_switch([
174 + 'name' => 'config[unsubscribe_campaign_list_only]',
175 + 'value' => $this->config->get('unsubscribe_campaign_list_only', 0),
176 + 'label' => acym_translation('ACYM_CAMPAIGN_LIST_ONLY'),
177 + 'labelClass' => 'xlarge-3',
178 + ]);
179 + ?>
180 + </div>
181 + <div class="cell grid-x margin-bottom-1">
182 + <label for="acym__configuration__subscription__unsub-title" class="cell xlarge-3"><?php echo esc_html(
183 + acym_translation(
184 + 'ACYM_UNSUBSCRIBE_PAGE_CHANGE'
185 + )
186 + ); ?></label>
187 + <input id="acym__configuration__subscription__unsub-title"
188 + class="cell xlarge-4 large-5 medium-6"
189 + type="text"
190 + name="config[unsubscribe_title]"
191 + value="<?php echo esc_attr($this->config->get('unsubscribe_title', '')); ?>">
192 + <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
193 + </div>
194 + <div class="cell grid-x margin-bottom-1">
195 + <label for="acym__config__settings__color-picker" class="cell xlarge-3"><?php echo esc_html(
196 + acym_translation(
197 + 'ACYM_UNSUBSCRIBE_PAGE_COLOR'
198 + )
199 + ); ?></label>
200 + <p class="cell margin-bottom-1 small-6" id="acym__config__settings__unsub-color">
201 + <input type="text"
202 + name="config[unsubscribe_color]"
203 + id="acym__config__settings__color-picker"
204 + value="<?php echo esc_attr($this->config->get('unsubscribe_color') ?: '#0079d3'); ?>" />
205 + </p>
206 + </div>
207 + <div class="cell grid-x margin-bottom-1">
208 + <label for="acym__configuration__subscription__unsub-logo" class="cell xlarge-3"><?php echo esc_html(
209 + acym_translation(
210 + 'ACYM_UNSUBSCRIBE_PAGE_LOGO'
211 + )
212 + ); ?></label>
213 + <button type="button" class="cell shrink button button-secondary margin-bottom-0" id="acym__unsubscribe__logo">
214 + <?php echo esc_html(acym_translation('ACYM_UPLOAD_IMAGE')); ?>
215 + </button>
216 + <span class="cell grid-x acym_vcenter shrink acym__unsub__logo__text margin-left-1">
208 217 <?php if (!empty($this->config->get('unsubscribe_logo'))) { ?>
209 - <?php echo $this->config->get('unsubscribe_logo'); ?>
218 + <?php echo esc_html($this->config->get('unsubscribe_logo')); ?>
210 219 <i class="acymicon-trash-o acym__color__red acym__unsub__logo__remove margin-left-1"></i>
211 220 <?php } ?>
212 221 </span>
213 - <input type="hidden" id="acym__unsubscribe__logo_value" name="config[unsubscribe_logo]" value="<?php echo $this->config->get('unsubscribe_logo'); ?>">
214 - </div>
215 - <div class="cell grid-x margin-bottom-1">
216 - <?php
217 - echo acym_switch(
218 - 'config[display_unsub_image]',
219 - $this->config->get('display_unsub_image', 1),
220 - acym_translation('ACYM_DISPLAY_UNSUBSCRIBE_IMAGE'),
221 - [],
222 - 'xlarge-3 medium-5 small-9',
223 - 'auto',
224 - '',
225 - 'unsub_image'
226 - );
227 - ?>
228 - </div>
229 - <div class="cell grid-x margin-bottom-1" id="unsub_image">
230 - <label for="acym__configuration__subscription__unsub-image" class="cell xlarge-3"><?php echo acym_translation(
231 - 'ACYM_UNSUBSCRIBE_PAGE_IMAGE'
232 - ); ?></label>
233 - <button type="button" class="cell shrink button button-secondary margin-bottom-0" id="acym__unsubscribe__image">
234 - <?php echo acym_translation('ACYM_UPLOAD_IMAGE'); ?>
235 - </button>
236 - <span class="cell shrink grid-x acym_vcenter acym__unsub__image__text margin-left-1">
222 + <input type="hidden"
223 + id="acym__unsubscribe__logo_value"
224 + name="config[unsubscribe_logo]"
225 + value="<?php echo esc_attr($this->config->get('unsubscribe_logo')); ?>">
226 + </div>
227 + <div class="cell grid-x margin-bottom-1">
228 + <?php
229 + acym_switch([
230 + 'name' => 'config[display_unsub_image]',
231 + 'value' => $this->config->get('display_unsub_image', 1),
232 + 'label' => acym_translation('ACYM_DISPLAY_UNSUBSCRIBE_IMAGE'),
233 + 'labelClass' => 'xlarge-3 medium-5 small-9',
234 + 'toggle' => 'unsub_image',
235 + ]);
236 + ?>
237 + </div>
238 + <div class="cell grid-x margin-bottom-1" id="unsub_image">
239 + <label for="acym__configuration__subscription__unsub-image" class="cell xlarge-3"><?php echo esc_html(
240 + acym_translation(
241 + 'ACYM_UNSUBSCRIBE_PAGE_IMAGE'
242 + )
243 + ); ?></label>
244 + <button type="button" class="cell shrink button button-secondary margin-bottom-0" id="acym__unsubscribe__image">
245 + <?php echo esc_html(acym_translation('ACYM_UPLOAD_IMAGE')); ?>
246 + </button>
247 + <span class="cell shrink grid-x acym_vcenter acym__unsub__image__text margin-left-1">
237 248 <?php if (!empty($this->config->get('unsubscribe_image'))) { ?>
238 - <?php echo $this->config->get('unsubscribe_image'); ?>
249 + <?php echo esc_html($this->config->get('unsubscribe_image')); ?>
239 250 <i class="acymicon-trash-o acym__color__red acym__unsub__image__remove margin-left-1"></i>
240 251 <?php } ?>
241 252 </span>
242 - <input type="hidden" id="acym__unsubscribe__image_value" name="config[unsubscribe_image]" value="<?php echo $this->config->get('unsubscribe_image'); ?>">
243 - </div>
244 - <div class="cell grid-x margin-bottom-1" id="acym__configuration__unsubscription__survey">
245 - <?php
246 - echo acym_switch(
247 - 'config[unsubpage_survey]',
248 - $this->config->get('unsubpage_survey', 0),
249 - acym_translation('ACYM_UNSUBSCRIBE_PAGE_SURVEY'),
250 - [],
251 - 'xlarge-3',
252 - 'auto',
253 - '',
254 - 'acym__configuration__unsubscription__survey-text'
255 - );
256 - ?>
257 - </div>
258 - <div class="cell grid-x margin-bottom-1" id="acym__configuration__unsubscription__survey-text">
259 - <?php
260 - if (acym_isMultilingual()) { ?>
261 - <div class="cell grid-x">
253 + <input type="hidden"
254 + id="acym__unsubscribe__image_value"
255 + name="config[unsubscribe_image]"
256 + value="<?php echo esc_attr($this->config->get('unsubscribe_image')); ?>">
257 + </div>
258 + <div class="cell grid-x margin-bottom-1" id="acym__configuration__unsubscription__survey">
259 + <?php
260 + acym_switch([
261 + 'name' => 'config[unsubpage_survey]',
262 + 'value' => $this->config->get('unsubpage_survey', 0),
263 + 'label' => acym_translation('ACYM_UNSUBSCRIBE_PAGE_SURVEY'),
264 + 'labelClass' => 'xlarge-3',
265 + 'toggle' => 'acym__configuration__unsubscription__survey-text',
266 + ]);
267 + ?>
268 + </div>
269 + <div class="cell grid-x margin-bottom-1" id="acym__configuration__unsubscription__survey-text">
270 + <?php
271 + if (acym_isMultilingual()) { ?>
272 + <div class="cell grid-x">
273 + <?php
274 + if (!empty($data['translation_languages'])) {
275 + acym_displayLanguageRadio(
276 + $data['translation_languages'],
277 + 'config[unsub_survey_translation]',
278 + $this->config->get('unsub_survey_translation', ''),
279 + acym_translation('ACYM_CUSTOM_SURVEY_LANGUAGE'),
280 + [],
281 + 'configuration_subscription'
282 + );
283 + } ?>
284 + </div>
262 285 <?php
263 - if (!empty($data['translation_languages'])) {
264 - echo acym_displayLanguageRadio(
265 - $data['translation_languages'],
266 - 'config[unsub_survey_translation]',
267 - $this->config->get('unsub_survey_translation', ''),
268 - acym_translation('ACYM_CUSTOM_SURVEY_LANGUAGE'),
269 - [],
270 - 'configuration_subscription'
271 - );
272 - } ?>
273 - </div>
274 - <?php
275 - } ?>
276 - <div class="cell grid-x acym__customs__change margin-bottom-1" id="acym__customs__answer">
277 - <label class="cell large-3 margin-top-1" for="unsubscribe_survey">
278 - <?php echo acym_translation('ACYM_CUSTOM_SURVEY').acym_info('ACYM_CUSTOM_SURVEY_DESC'); ?>
279 - </label>
280 - <div class="cell grid-x acym__listing">
281 - <div class="acym__customs__answers__listing__sortable cell medium-6 grid-x">
282 - <?php if (empty($data['surveyAnswers'])) { ?>
283 - <div class="grid-x cell acym__customs__answers acym__content acym_noshadow grid-margin-x margin-y">
284 - <input type="text"
285 - name="config[unsub_survey][]"
286 - class="cell medium-10 acym__customs__answer__answer"
287 - data-response="1"
288 - value="">
289 - </div>
290 - <?php } else {
291 - $i = 0;
292 - foreach ($data['surveyAnswers'] as $answer) { ?>
286 + } ?>
287 + <div class="cell grid-x acym__customs__change margin-bottom-1" id="acym__customs__answer">
288 + <label class="cell large-3 margin-top-1" for="unsubscribe_survey">
289 + <?php echo esc_html(acym_translation('ACYM_CUSTOM_SURVEY'));
290 + acym_info(['textShownInTooltip' => 'ACYM_CUSTOM_SURVEY_DESC']); ?>
291 + </label>
292 + <div class="cell grid-x acym__listing">
293 + <div class="acym__customs__answers__listing__sortable cell medium-6 grid-x">
294 + <?php if (empty($data['surveyAnswers'])) { ?>
293 295 <div class="grid-x cell acym__customs__answers acym__content acym_noshadow grid-margin-x margin-y">
294 296 <input type="text"
295 - name="config[unsub_survey][]"
296 - class="cell medium-10 acym__customs__answer__answer"
297 - data-response="<?php echo $i; ?>"
298 - value="<?php echo acym_escape($answer); ?>">
299 - <?php
300 - if ($i > 0) { ?>
301 - <i class=" cell acymicon-close small-1 acym__color__red cursor-pointer acym__custom__delete__value"></i>
302 - <?php } ?>
297 + name="config[unsub_survey][]"
298 + class="cell medium-10 acym__customs__answer__answer"
299 + data-response="1"
300 + value="">
303 301 </div>
304 - <?php $i++;
305 - } ?>
306 - <?php } ?>
302 + <?php } else {
303 + $i = 0;
304 + foreach ($data['surveyAnswers'] as $answer) { ?>
305 + <div class="grid-x cell acym__customs__answers acym__content acym_noshadow grid-margin-x margin-y">
306 + <input type="text"
307 + name="config[unsub_survey][]"
308 + class="cell medium-10 acym__customs__answer__answer"
309 + data-response="<?php echo esc_attr($i); ?>"
310 + value="<?php echo esc_attr($answer); ?>">
311 + <?php
312 + if ($i > 0) { ?>
313 + <i class=" cell acymicon-close small-1 acym__color__red cursor-pointer acym__custom__delete__value"></i>
314 + <?php } ?>
315 + </div>
316 + <?php $i++;
317 + } ?>
318 + <?php } ?>
319 + </div>
307 320 </div>
321 + <button type="button" class="cell button button-secondary margin-top-1" id="acym__custom_answer__add-answer"><?php echo esc_html(
322 + acym_translation(
323 + 'ACYM_ADD_ANSWER'
324 + )
325 + ); ?></button>
308 326 </div>
309 - <button type="button" class="cell button button-secondary margin-top-1" id="acym__custom_answer__add-answer"><?php echo acym_translation(
310 - 'ACYM_ADD_ANSWER'
311 - ); ?></button>
312 327 </div>
328 + <?php if (acym_isMultilingual()) { ?>
329 + <div class="cell grid-x margin-top-1">
330 + <?php
331 + acym_switch([
332 + 'name' => 'config[unsubpage_languages_multi_only]',
333 + 'value' => $this->config->get('unsubpage_languages_multi_only', 0),
334 + 'label' => acym_translation('ACYM_UNSUBSCRIBE_USED_LANGUAGE'),
335 + 'tip' => ['textShownInTooltip' => 'ACYM_UNSUBSCRIBE_USED_LANGUAGE_DESC'],
336 + 'labelClass' => 'xlarge-3 medium-5 small-9',
337 + ]);
338 + ?>
339 + </div>
340 + <?php } ?>
341 + <label for="acym__configuration__subscription__unsub-url" class="cell grid-x margin-bottom-1 margin-top-1">
342 + <span class="cell xlarge-3 medium-5 acym_vcenter"><?php echo esc_html(acym_translation('ACYM_REDIRECTION_URL')); ?></span>
343 + <input id="acym__configuration__subscription__unsub-url"
344 + class="cell xlarge-4 medium-auto margin-bottom-0"
345 + type="text"
346 + name="config[unsub_redirect_url]"
347 + value="<?php echo esc_attr($this->config->get('unsub_redirect_url'), ''); ?>">
348 + <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
349 + </label>
313 350 </div>
314 - <?php if (acym_isMultilingual()) { ?>
315 - <div class="cell grid-x margin-top-1">
316 - <?php
317 - echo acym_switch(
318 - 'config[unsubpage_languages_multi_only]',
319 - $this->config->get('unsubpage_languages_multi_only', 0),
320 - acym_translation('ACYM_UNSUBSCRIBE_USED_LANGUAGE').acym_info('ACYM_UNSUBSCRIBE_USED_LANGUAGE_DESC'),
321 - [],
322 - 'xlarge-3 medium-5 small-9'
323 - );
324 - ?>
325 - </div>
326 - <?php } ?>
327 - <label for="acym__configuration__subscription__unsub-url" class="cell grid-x margin-bottom-1 margin-top-1">
328 - <span class="cell xlarge-3 medium-5 acym_vcenter"><?php echo acym_translation('ACYM_REDIRECTION_URL'); ?></span>
329 - <input id="acym__configuration__subscription__unsub-url"
330 - class="cell xlarge-4 medium-auto margin-bottom-0"
331 - type="text"
332 - name="config[unsub_redirect_url]"
333 - value="<?php echo acym_escape($this->config->get('unsub_redirect_url'), ''); ?>">
334 - <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
335 - </label>
351 + <?php if ('joomla' === ACYM_CMS) {
352 + include acym_getPartial('joomla', 'media_modal');
353 + } ?>
336 354 </div>
337 - <?php if ('joomla' === ACYM_CMS) {
338 - include acym_getPartial('joomla', 'media_modal');
339 - } ?>
340 355 </div>
341 356 </div>
342 357 </div>
343 -</div>
344 358
345 -<!-- CMS Integration -->
346 -<div class="acym__configuration__subscription acym__content acym_area padding-vertical-1 padding-horizontal-2">
347 - <div class="cell grid-x acym__configuration__showmore-head">
348 - <div class="acym__title acym__title__secondary cell auto margin-bottom-0">
349 - <?php echo acym_translationSprintf('ACYM_XX_INTEGRATION', ACYM_CMS_TITLE); ?>
359 + <!-- CMS Integration -->
360 + <div class="acym__configuration__subscription acym__content acym_area padding-vertical-1 padding-horizontal-2">
361 + <div class="cell grid-x acym__configuration__showmore-head">
362 + <div class="acym__title acym__title__secondary cell auto margin-bottom-0">
363 + <?php echo esc_html(acym_translationSprintf('ACYM_XX_INTEGRATION', ACYM_CMS_TITLE)); ?>
364 + </div>
365 + <div class="cell shrink">
366 + <?php acym_showMore('acym__configuration__subscription__integration-cms'); ?>
367 + </div>
350 368 </div>
351 - <div class="cell shrink">
352 - <?php echo acym_showMore('acym__configuration__subscription__integration-cms'); ?>
353 - </div>
354 - </div>
355 369
356 - <?php
357 - if (!acym_isPluginActive('acymtriggers')) {
358 - acym_display(acym_translationSprintf('ACYM_NEEDS_SYSTEM_PLUGIN', 'AcyMailing - Joomla integration'), 'error', false);
359 - }
360 - ?>
370 + <?php
371 + if (!acym_isPluginActive('acymtriggers')) {
372 + acym_display(acym_translationSprintf('ACYM_NEEDS_SYSTEM_PLUGIN', 'AcyMailing - Joomla integration'), 'error', false);
373 + }
374 + ?>
361 375
362 - <div id="acym__configuration__subscription__integration-cms" style="display:none;">
363 - <div class="grid-x margin-y">
364 - <div class="cell grid-x grid-margin-x">
365 - <?php
366 - echo acym_switch(
367 - 'config[regacy]',
368 - $this->config->get('regacy'),
369 - acym_translation('ACYM_CREATE_SUBSCRIBER_FOR_CMS_USER'),
370 - [],
371 - 'xlarge-3 medium-5 small-9',
372 - 'auto',
373 - '',
374 - 'acym__config__regacy'
375 - );
376 - ?>
377 - </div>
378 - <div class="cell grid-x margin-y" id="acym__config__regacy">
376 + <div id="acym__configuration__subscription__integration-cms" style="display:none;">
377 + <div class="grid-x margin-y">
379 378 <div class="cell grid-x grid-margin-x">
380 379 <?php
381 - echo acym_switch(
382 - 'config[regacy_forceconf]',
383 - $this->config->get('regacy_forceconf'),
384 - acym_translation('ACYM_SEND_CONF_REGACY'),
385 - [],
386 - 'xlarge-3 medium-5 small-9',
387 - 'auto',
388 - '',
389 - 'regforceconf_config'
390 - );
380 + acym_switch([
381 + 'name' => 'config[regacy]',
382 + 'value' => $this->config->get('regacy'),
383 + 'label' => acym_translation('ACYM_CREATE_SUBSCRIBER_FOR_CMS_USER'),
384 + 'labelClass' => 'xlarge-3 medium-5 small-9',
385 + 'toggle' => 'acym__config__regacy',
386 + ]);
391 387 ?>
392 388 </div>
393 - <div class="cell grid-x grid-margin-x">
394 - <?php
395 - echo acym_switch(
396 - 'config[regacy_delete]',
397 - $this->config->get('regacy_delete'),
398 - acym_translation('ACYM_DELETE_SUBSCRIBER_OF_CMS_USER'),
399 - [],
400 - 'xlarge-3 medium-5 small-9',
401 - 'auto',
402 - '',
403 - 'regdelete_config'
404 - );
405 - ?>
406 - </div>
389 + <div class="cell grid-x margin-y" id="acym__config__regacy">
390 + <div class="cell grid-x grid-margin-x">
391 + <?php
392 + acym_switch([
393 + 'name' => 'config[regacy_forceconf]',
394 + 'value' => $this->config->get('regacy_forceconf'),
395 + 'label' => acym_translation('ACYM_SEND_CONF_REGACY'),
396 + 'labelClass' => 'xlarge-3 medium-5 small-9',
397 + 'toggle' => 'regforceconf_config',
398 + ]);
399 + ?>
400 + </div>
401 + <div class="cell grid-x grid-margin-x">
402 + <?php
403 + acym_switch([
404 + 'name' => 'config[regacy_delete]',
405 + 'value' => $this->config->get('regacy_delete'),
406 + 'label' => acym_translation('ACYM_DELETE_SUBSCRIBER_OF_CMS_USER'),
407 + 'labelClass' => 'xlarge-3 medium-5 small-9',
408 + 'toggle' => 'regdelete_config',
409 + ]);
410 + ?>
411 + </div>
407 412
408 - <?php acym_trigger('onRegacyUseExternalPlugins', []); ?>
413 + <?php acym_trigger('onRegacyUseExternalPlugins', []); ?>
409 414
410 - <div class="cell xlarge-3 medium-5">
411 - <label for="acym__config__regacy-text" title="<?php echo acym_escape(acym_translation('ACYM_SUBSCRIBE_CAPTION_DESC')); ?>">
412 - <?php echo acym_escape(acym_translation('ACYM_SUBSCRIBE_CAPTION')); ?>
413 - </label>
414 - </div>
415 - <div class="cell xlarge-4 medium-7">
416 - <input type="text" name="config[regacy_text]" id="acym__config__regacy-text" value="<?php echo acym_escape($this->config->get('regacy_text')); ?>" />
417 - </div>
418 - <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
419 - <div class="cell xlarge-3 medium-5">
420 - <label for="acym__config__regacy-lists">
421 - <?php echo acym_translation('ACYM_DISPLAYED_LISTS').acym_info('ACYM_DISPLAYED_LISTS_DESC'); ?>
422 - </label>
423 - </div>
424 - <div class="cell xlarge-4 medium-7">
425 - <?php
426 - echo acym_selectMultiple(
427 - $data['lists'],
428 - 'config[regacy_lists]',
429 - explode(',', $this->config->get('regacy_lists', '')),
430 - ['class' => 'acym__select', 'id' => 'acym__config__regacy-lists'],
431 - 'id',
432 - 'name'
433 - );
434 - ?>
435 - </div>
436 - <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
415 + <div class="cell xlarge-3 medium-5">
416 + <label for="acym__config__regacy-text" title="<?php echo esc_attr(acym_translation('ACYM_SUBSCRIBE_CAPTION_DESC')); ?>">
417 + <?php echo esc_attr(acym_translation('ACYM_SUBSCRIBE_CAPTION')); ?>
418 + </label>
419 + </div>
420 + <div class="cell xlarge-4 medium-7">
421 + <input type="text" name="config[regacy_text]" id="acym__config__regacy-text" value="<?php echo esc_attr($this->config->get('regacy_text')); ?>" />
422 + </div>
423 + <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
424 + <div class="cell xlarge-3 medium-5">
425 + <label for="acym__config__regacy-lists">
426 + <?php echo esc_html(acym_translation('ACYM_DISPLAYED_LISTS'));
427 + acym_info(['textShownInTooltip' => 'ACYM_DISPLAYED_LISTS_DESC']); ?>
428 + </label>
429 + </div>
430 + <div class="cell xlarge-4 medium-7">
431 + <?php
432 + acym_selectMultiple(
433 + $data['lists'],
434 + 'config[regacy_lists]',
435 + explode(',', $this->config->get('regacy_lists', '')),
436 + ['class' => 'acym__select', 'id' => 'acym__config__regacy-lists'],
437 + 'id',
438 + 'name',
439 + true
440 + );
441 + ?>
442 + </div>
443 + <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
437 444
438 - <div class="cell xlarge-3 medium-5">
439 - <label for="acym__config__regacy-checkedlists">
440 - <?php echo acym_translation('ACYM_LISTS_CHECKED_DEFAULT').acym_info('ACYM_LISTS_CHECKED_DEFAULT_DESC'); ?>
441 - </label>
442 - </div>
443 - <div class="cell xlarge-4 medium-7">
444 - <?php
445 - echo acym_selectMultiple(
446 - $data['lists'],
447 - 'config[regacy_checkedlists]',
448 - explode(',', $this->config->get('regacy_checkedlists', '')),
449 - ['class' => 'acym__select', 'id' => 'acym__config__regacy-checkedlists'],
450 - 'id',
451 - 'name'
452 - );
453 - ?>
454 - </div>
455 - <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
456 -
457 - <div class="cell xlarge-3 medium-5">
458 - <label for="acym__config__regacy-autolists">
459 - <?php echo acym_translation('ACYM_AUTO_SUBSCRIBE_TO').acym_info('ACYM_AUTO_SUBSCRIBE_TO_DESC'); ?>
460 - </label>
461 - </div>
462 - <div class="cell xlarge-4 medium-7">
463 - <?php
464 - echo acym_selectMultiple(
465 - $data['lists'],
466 - 'config[regacy_autolists]',
467 - explode(',', $this->config->get('regacy_autolists', '')),
468 - ['class' => 'acym__select', 'id' => 'acym__config__regacy-autolists'],
469 - 'id',
470 - 'name'
471 - );
472 - ?>
473 - </div>
474 - <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
475 -
476 -
477 - <?php
478 - if ('joomla' === ACYM_CMS) {
479 - ?>
480 445 <div class="cell xlarge-3 medium-5">
481 - <label for="acym__config__regacy-listsposition">
482 - <?php echo acym_escape(acym_translation('ACYM_LISTS_POSITION')); ?>
446 + <label for="acym__config__regacy-checkedlists">
447 + <?php echo esc_html(acym_translation('ACYM_LISTS_CHECKED_DEFAULT'));
448 + acym_info(['textShownInTooltip' => 'ACYM_LISTS_CHECKED_DEFAULT_DESC']); ?>
483 449 </label>
484 450 </div>
485 451 <div class="cell xlarge-4 medium-7">
486 452 <?php
487 - echo acym_select(
488 - acym_getOptionRegacyPosition(),
489 - 'config[regacy_listsposition]',
490 - $this->config->get('regacy_listsposition', 'password'),
491 - [
492 - 'class' => 'acym__select',
493 - 'data-toggle-select' => '{"custom":"#acym__config__regacy__custom-list-position"}',
494 - ],
495 - 'value',
496 - 'text',
497 - 'acym__config__regacy-listsposition'
453 + acym_selectMultiple(
454 + $data['lists'],
455 + 'config[regacy_checkedlists]',
456 + explode(',', $this->config->get('regacy_checkedlists', '')),
457 + ['class' => 'acym__select', 'id' => 'acym__config__regacy-checkedlists'],
458 + 'id',
459 + 'name',
460 + true
498 461 );
499 462 ?>
500 463 </div>
501 464 <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
502 465
503 - <div class="cell grid-x" id="acym__config__regacy__custom-list-position">
504 - <div class="cell xlarge-3 medium-5"></div>
505 - <div class="cell xlarge-4 medium-7">
506 - <input type="text" name="config[regacy_listspositioncustom]" value="<?php echo acym_escape($this->config->get('regacy_listspositioncustom')); ?>" />
507 - </div>
508 - </div>
509 466 <div class="cell xlarge-3 medium-5">
510 - <label for="acym__config__regacy-listsposition">
511 - <?php echo acym_escape(acym_translation('ACYM_HTML_REGISTRATION_FORM_STRUCTURE')).acym_info('ACYM_HTML_REGISTRATION_FORM_STRUCTURE_DESC'); ?>
467 + <label for="acym__config__regacy-autolists">
468 + <?php echo esc_html(acym_translation('ACYM_AUTO_SUBSCRIBE_TO'));
469 + acym_info(['textShownInTooltip' => 'ACYM_AUTO_SUBSCRIBE_TO_DESC']); ?>
512 470 </label>
513 471 </div>
514 472 <div class="cell xlarge-4 medium-7">
515 473 <?php
516 - $customHtmlElement = [
517 - acym_selectOption('', 'ACYM_AUTOMATIC'),
518 - acym_selectOption('li', 'li'),
519 - acym_selectOption('div', 'div'),
520 - acym_selectOption('p', 'p'),
521 - acym_selectOption('dd', 'dd'),
522 - ];
523 -
524 - echo acym_select(
525 - $customHtmlElement,
526 - 'config[regacy_customhtmlelement]',
527 - $this->config->get('regacy_customhtmlelement', ''),
528 - ['class' => 'acym__select'],
529 - 'value',
530 - 'text',
531 - 'acym__config__regacy-customhtmlelement'
474 + acym_selectMultiple(
475 + $data['lists'],
476 + 'config[regacy_autolists]',
477 + explode(',', $this->config->get('regacy_autolists', '')),
478 + ['class' => 'acym__select', 'id' => 'acym__config__regacy-autolists'],
479 + 'id',
480 + 'name',
481 + true
532 482 );
533 483 ?>
534 484 </div>
535 485 <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
536 - <?php } ?>
486 +
487 +
488 + <?php
489 + if ('joomla' === ACYM_CMS) {
490 + ?>
491 + <div class="cell xlarge-3 medium-5">
492 + <label for="acym__config__regacy-listsposition">
493 + <?php echo esc_html(acym_translation('ACYM_LISTS_POSITION')); ?>
494 + </label>
495 + </div>
496 + <div class="cell xlarge-4 medium-7">
497 + <?php
498 + acym_select(
499 + acym_getOptionRegacyPosition(),
500 + 'config[regacy_listsposition]',
501 + $this->config->get('regacy_listsposition', 'password'),
502 + [
503 + 'class' => 'acym__select',
504 + 'data-toggle-select' => '{"custom":"#acym__config__regacy__custom-list-position"}',
505 + ],
506 + 'value',
507 + 'text',
508 + 'acym__config__regacy-listsposition',
509 + false,
510 + true
511 + );
512 + ?>
513 + </div>
514 + <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
515 +
516 + <div class="cell grid-x" id="acym__config__regacy__custom-list-position">
517 + <div class="cell xlarge-3 medium-5"></div>
518 + <div class="cell xlarge-4 medium-7">
519 + <input type="text" name="config[regacy_listspositioncustom]" value="<?php echo esc_attr($this->config->get('regacy_listspositioncustom')); ?>" />
520 + </div>
521 + </div>
522 + <div class="cell xlarge-3 medium-5">
523 + <label for="acym__config__regacy-listsposition">
524 + <?php
525 + echo esc_html(acym_translation('ACYM_HTML_REGISTRATION_FORM_STRUCTURE'));
526 + acym_info(['textShownInTooltip' => 'ACYM_HTML_REGISTRATION_FORM_STRUCTURE_DESC']);
527 + ?>
528 + </label>
529 + </div>
530 + <div class="cell xlarge-4 medium-7">
531 + <?php
532 + $customHtmlElement = [
533 + acym_selectOption('', 'ACYM_AUTOMATIC'),
534 + acym_selectOption('li', 'li'),
535 + acym_selectOption('div', 'div'),
536 + acym_selectOption('p', 'p'),
537 + acym_selectOption('dd', 'dd'),
538 + ];
539 +
540 + acym_select(
541 + $customHtmlElement,
542 + 'config[regacy_customhtmlelement]',
543 + $this->config->get('regacy_customhtmlelement', ''),
544 + ['class' => 'acym__select'],
545 + 'value',
546 + 'text',
547 + 'acym__config__regacy-customhtmlelement',
548 + false,
549 + true
550 + );
551 + ?>
552 + </div>
553 + <div class="cell xlarge-5 hide-for-medium-only hide-for-small-only"></div>
554 + <?php } ?>
555 + </div>
537 556 </div>
538 557 </div>
539 558 </div>
540 -</div>
541 559
542 560 <?php
543 561 acym_trigger('onRegacyOptionsDisplay', [$data['lists']]);