PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.0.5
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.0.5
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 / editor / context_text.php

context_text.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.0.5, at back/Partial/editor/context_text.php

47 lines 2.2 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__wysid__context__text" style="display: none" class="grid-x padding-1">
6 <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title">
7 <?php echo esc_html(acym_translation('ACYM_DYNAMIC_TEXT_TYPE'));
8 acym_info(['textShownInTooltip' => 'ACYM_DYNAMIC_TEXT_TYPE_DESC']); ?>
9 <i class="acymicon-keyboard-arrow-up"></i>
10 </p>
11 <div class="grid-x cell acym__wysid__context__modal__container grid-margin-x margin-y">
12 <?php
13 foreach ($data['plugins'] as $onePlugin) {
14 if (empty($onePlugin)) continue;
15
16 echo '<button type="button"
17 class="cell medium-6 button button-secondary"
18 acym-button-switch-type="'.esc_attr($onePlugin->plugin).'">'.esc_html($onePlugin->name).'</button>';
19
20 $data['tabHelper']->startTab($onePlugin->plugin);
21 $defaultValues = new \stdClass();
22 acym_trigger('textPopup', [$defaultValues], $onePlugin->plugin);
23 $data['tabHelper']->endTab();
24 }
25 ?>
26 </div>
27 <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title">
28 <?php echo esc_html(acym_translation('ACYM_CONTENT_TO_INSERT'));
29 acym_info(['textShownInTooltip' => 'ACYM_CONTENT_TO_INSERT_DESC']); ?>
30 <i class="acymicon-keyboard-arrow-up"></i>
31 </p>
32 <div class="grid-x cell acym__wysid__context__modal__container grid-margin-x margin-y">
33 <?php $data['tabHelper']->display('dtext_options'); ?>
34 </div>
35 <div id="acym__dynamic__texts__insert__zone" class="cell grid-x">
36 <input title="<?php echo esc_attr(acym_translation('ACYM_DYNAMIC_TEXT')); ?>"
37 type="text"
38 class="cell large-auto margin-right-1"
39 id="dtextcode"
40 name="dtextcode"
41 value="">
42 <div class="cell large-shrink">
43 <button type="button" class="button" id="insertButton"><?php echo esc_html(acym_translation('ACYM_INSERT_DYNAMIC_TEXT')); ?></button>
44 </div>
45 </div>
46 </div>
47