PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / trunk
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress vtrunk
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 / Partial / dtext / picker.php

picker.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress trunk, at back/Partial/dtext/picker.php

32 lines 1.4 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 <div id="acym__dtext__picker" class="is-hidden">
6 <div id="acym__dtext__picker__modal" class="padding-1">
7 <i class="acymicon-close" id="acym__dtext__picker__modal__close"></i>
8 <div class="grid-x grid-margin-x align-center">
9 <input type="text" id="acym__dtext__picker__modal__code" class="cell small-8 medium-4" readonly="readonly" />
10 <button type="button" id="acym__dtext__picker__modal__insert" class="cell small-4 medium-shrink button button-primary">
11 <?php echo esc_html(acym_translation('ACYM_INSERT')); ?>
12 </button>
13 </div>
14 <?php
15 foreach ($data['plugins'] as $onePlugin) {
16 if (!empty($data['options']['context']) && empty($onePlugin->{$data['options']['context']})) {
17 continue;
18 }
19
20 if (is_object($onePlugin) && property_exists($onePlugin, 'name')) {
21 $data['tabHelper']->startTab($onePlugin->name);
22 $defaultValues = new \stdClass();
23 acym_trigger('textPopup', [$defaultValues], $onePlugin->plugin);
24 $data['tabHelper']->endTab();
25 }
26 }
27
28 $data['tabHelper']->display('dtext_picker');
29 ?>
30 </div>
31 </div>
32