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 -33 10.11.1 → 11.1.1 View file →
@@ -1,33 +1,0 @@
1 -<div class="acym__subscription__form__lists">
2 - <?php
3 - foreach ($form->settings['lists']['displayed'] as $listId) {
4 - if (!empty($form->settings['lists']['automatic_subscribe']) && in_array($listId, $form->settings['lists']['automatic_subscribe'])) continue;
5 - if (empty($form->lists[$listId])) continue;
6 - $checked = !empty($form->settings['lists']['checked']) && in_array($listId, $form->settings['lists']['checked']) ? 'checked' : '';
7 - $label = $form->lists[$listId];
8 - echo '<label><input type="checkbox" value="'.$listId.'" name="subscription[]" '.$checked.'>'.$label.'</label>';
9 - }
10 -
11 - $hiddenLists = empty($form->settings['lists']['automatic_subscribe']) ? '' : implode(',', $form->settings['lists']['automatic_subscribe']);
12 - echo '<input type="hidden" name="hiddenlists" value="'.$hiddenLists.'">';
13 - ?>
14 - <style>
15 - <?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__fields .acym__subscription__form__lists{
16 - display: inline-block;
17 - width: auto;
18 - margin: 0 20px;
19 - text-align: left;
20 - }
21 -
22 - <?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__fields .acym__subscription__form__lists label{
23 - display: inline-block;
24 - margin-right: 10px;
25 - width: auto;
26 - }
27 -
28 - <?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__fields .acym__subscription__form__lists input[type="checkbox"]{
29 - margin-top: 0 !important;
30 - margin-right: 5px;
31 - }
32 - </style>
33 -</div>