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/Lists/tmpl/settings.php +51 -0 10.1.2 → 11.1.0 View file →
@@ -1,0 +1,51 @@
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 id="acym__list__settings">
6 + <form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm" data-abide novalidate>
7 + <div class="cell grid-x text-right grid-margin-x margin-left-0 margin-right-0 margin-bottom-0 margin-y acym__content" id="acym__list__settings__actions">
8 + <?php include acym_getView('lists', 'settings_actions'); ?>
9 + </div>
10 + <div class="acym__content margin-top-1">
11 + <?php
12 + $workflow = $data['workflowHelper'];
13 + $workflow->displayTabs(
14 + $this->tabs,
15 + $data['currentTab'],
16 + [
17 + 'query' => '&listId='.esc_attr($data['listInformation']->id).'&task=settings&step=',
18 + 'disableTabs' => empty($data['listInformation']->id) ? $this->disableTabs : [],
19 + ]
20 + ); ?>
21 + <?php
22 + if ($data['currentTab'] === $data['tabs']['general']) { ?>
23 + <div class="grid-x margin-bottom-1 grid-margin-x">
24 + <div class="cell grid-x margin-bottom-1 xlarge-5 small-12 acym__content margin-y">
25 + <?php include acym_getView('lists', 'settings_information'); ?>
26 + </div>
27 + <div class="cell grid-x margin-bottom-1 xlarge-7 small-12 text-center">
28 + <?php include acym_getView('lists', 'settings_overview'); ?>
29 + </div>
30 + <div class="cell grid-x align-middle text-center acym__list__settings__stats acym__content margin-0 margin-bottom-1">
31 + <?php include acym_getView('lists', 'settings_statistics'); ?>
32 + </div>
33 + </div>
34 + <?php acym_trigger('onListSetting', [$data]); ?>
35 + <?php } elseif ($data['currentTab'] === $data['tabs']['subscribers']) { ?>
36 + <?php include acym_getView('lists', 'settings_subscribers'); ?>
37 + <?php } elseif ($data['currentTab'] === $data['tabs']['unsubscriptions']) { ?>
38 + <div class="cell grid-x align-middle text-center acym__list__settings__stats acym__content margin-top-1">
39 + <?php include acym_getView('lists', 'unsubscribe_reasons'); ?>
40 + </div>
41 + <?php }
42 + ?>
43 + </div>
44 +
45 + <input type="hidden" name="listId" value="<?php echo esc_attr($data['listInformation']->id ?? ''); ?>">
46 + <input type="hidden" name="list[welcome_id]" value="<?php echo esc_attr($data['listInformation']->welcome_id ?? ''); ?>">
47 + <input type="hidden" name="list[unsubscribe_id]" value="<?php echo esc_attr($data['listInformation']->unsubscribe_id ?? ''); ?>">
48 + <input type="hidden" name="step" value="<?php echo esc_attr($data['currentTab'] ?? ''); ?>">
49 + <?php acym_formOptions(true, 'settings'); ?>
50 + </form>
51 +</div>