PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.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
← All changes | back/Partial/forms/lists.php +0 -44 11.1.0 → 11.1.1 View file →
@@ -1,44 +1,0 @@
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__subscription__form__lists" role="group" aria-label="<?php echo esc_attr(acym_translation('ACYM_NEWSLETTERS')); ?>">
6 - <?php
7 - foreach ($form->settings['lists']['displayed'] as $listId) {
8 - if (!empty($form->settings['lists']['automatic_subscribe']) && in_array($listId, $form->settings['lists']['automatic_subscribe'])) continue;
9 - if (empty($form->lists[$listId])) continue;
10 - $label = $form->lists[$listId];
11 - ?>
12 - <label>
13 - <input type="checkbox"
14 - value="<?php echo esc_attr($listId); ?>"
15 - name="subscription[]"
16 - <?php checked(!empty($form->settings['lists']['checked']) && in_array($listId, $form->settings['lists']['checked'])); ?>>
17 - <?php echo esc_html($label); ?>
18 - </label>
19 - <?php
20 - }
21 -
22 - $hiddenLists = empty($form->settings['lists']['automatic_subscribe']) ? '' : implode(',', $form->settings['lists']['automatic_subscribe']);
23 - echo '<input type="hidden" name="hiddenlists" value="'.esc_attr($hiddenLists).'">';
24 - ?>
25 - <style>
26 - <?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name).' '; ?>.acym__subscription__form__fields .acym__subscription__form__lists{
27 - display: inline-block;
28 - width: auto;
29 - margin: 0 20px;
30 - text-align: left;
31 - }
32 -
33 - <?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name).' '; ?>.acym__subscription__form__fields .acym__subscription__form__lists label{
34 - display: inline-block;
35 - margin-right: 10px;
36 - width: auto;
37 - }
38 -
39 - <?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name).' '; ?>.acym__subscription__form__fields .acym__subscription__form__lists input[type="checkbox"]{
40 - margin-top: 0 !important;
41 - margin-right: 5px;
42 - }
43 - </style>
44 -</div>