PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.0.2
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.0.2
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 / Configuration / tmpl / listing.php

listing.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.0.2, at back/Views/Configuration/tmpl/listing.php

42 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 <form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm" novalidate data-abide-ignore>
6 <?php $data['toolbar']->displayToolbar($data); ?>
7 <div class="grid-x acym__content acym__content__tab">
8
9 <?php
10 $tabs = [
11 'license' => 'ACYM_LICENSE',
12 'mail' => 'ACYM_CONFIGURATION_MAIL',
13 'queue' => 'ACYM_CONFIGURATION_QUEUE',
14 'subscription' => 'ACYM_CONFIGURATION_SUBSCRIPTION',
15 'bounce' => 'ACYM_BOUNCE_HANDLING',
16 'data' => 'ACYM_CONFIGURATION_DATA_COLLECTION',
17 'security' => 'ACYM_CONFIGURATION_SECURITY',
18 'languages' => 'ACYM_CONFIGURATION_LANGUAGES',
19 ];
20
21 acym_trigger('onConfigurationAddTabs', [&$tabs]);
22
23 foreach ($tabs as $oneTab => $title) {
24 $data['tab']->startTab(acym_translation($title));
25 echo '<div class="acym__configuration__content">';
26 $filename = dirname(__FILE__).DS.$oneTab.'.php';
27 if (file_exists($filename)) {
28 include dirname(__FILE__).DS.$oneTab.'.php';
29 } else {
30 acym_trigger('onConfigurationTab_'.$oneTab, [$data]);
31 }
32 echo '</div>';
33 $data['tab']->endTab();
34 }
35
36 $data['tab']->display('configuration');
37 ?>
38 </div>
39
40 <?php acym_formOptions(); ?>
41 </form>
42