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/Partial/editor/design.php +158 -0 10.1.0 → 11.1.0 View file →
@@ -1,0 +1,158 @@
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__right__toolbar__design" class="cell grid-y acym__wysid__right__toolbar--menu">
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_ZONES')); ?>
8 + <i class="acymicon-keyboard-arrow-up"></i>
9 + <?php acym_info(['textShownInTooltip' => 'ACYM_INTRO_DRAG_ZONE']); ?>
10 + </p>
11 + <div class="acym__wysid__context__modal__container grid-x grid-margin-x grid-margin-y cell xxlarge-up-3 large-up-2 medium-up-1 small-up-1 acym__wysid__right__toolbar__design--show acym__wysid__right__toolbar__zones">
12 + <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--1 ui-draggable ui-draggable-handle">
13 + <svg version="1.1" x="0px" y="0px" viewBox="0 0 80.8 81" style="enable-background:new 0 0 80.8 81;" xml:space="preserve">
14 + <rect class="acym__wysid__row__element__type" width="80.8" height="100"></rect>
15 + </svg>
16 + </div>
17 + <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--2 ui-draggable ui-draggable-handle">
18 + <svg version="1.1" x="0px" y="0px" viewBox="0 0 80.8 81" style="enable-background:new 0 0 80.8 81;" xml:space="preserve">
19 + <rect class="acym__wysid__row__element__type" width="36.8" height="100"></rect>
20 + <rect x="44" class="acym__wysid__row__element__type" width="36.8" height="100"></rect>
21 + </svg>
22 + </div>
23 + <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--3 ui-draggable ui-draggable-handle">
24 + <svg version="1.1" x="0px" y="0px" viewBox="0 0 80.8 81" style="enable-background:new 0 0 80.8 81;" xml:space="preserve">
25 + <rect y="0.5" class="acym__wysid__row__element__type" width="24.2" height="100"></rect>
26 + <rect x="28.5" y="0.5" class="acym__wysid__row__element__type" width="24.2" height="100"></rect>
27 + <rect x="57" y="0.5" class="acym__wysid__row__element__type" width="24.2" height="100"></rect>
28 + </svg>
29 + </div>
30 + <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--4 ui-draggable ui-draggable-handle">
31 + <svg version="1.1" x="0px" y="0px" viewBox="0 0 80.8 81" style="enable-background:new 0 0 80.8 81;" xml:space="preserve">
32 + <rect x="65.6" class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
33 + <rect x="44.1" class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
34 + <rect x="22.1" class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
35 + <rect class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
36 + </svg>
37 + </div>
38 + <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--5 ui-draggable ui-draggable-handle">
39 + <svg version="1.1" x="0px" y="0px" viewBox="0 0 80.8 81" style="enable-background:new 0 0 80.8 81;" xml:space="preserve">
40 + <rect x="55.6" class="acym__wysid__row__element__type" width="25.2" height="100"></rect>
41 + <rect class="acym__wysid__row__element__type" width="50.2" height="100"></rect>
42 + </svg>
43 + </div>
44 + <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--6 ui-draggable ui-draggable-handle">
45 + <svg version="1.1" x="0px" y="0px" viewBox="0 0 80.8 81" style="enable-background:new 0 0 80.8 81;" xml:space="preserve">
46 + <rect class="acym__wysid__row__element__type" width="25.2" height="100"></rect>
47 + <rect x="31" class="acym__wysid__row__element__type" width="50.2" height="100"></rect>
48 + </svg>
49 + </div>
50 + </div>
51 +
52 + <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title">
53 + <?php echo esc_html(acym_translation('ACYM_BLOCKS')); ?>
54 + <i class="acymicon-keyboard-arrow-up"></i>
55 + <?php acym_info(['textShownInTooltip' => 'ACYM_INTRO_DRAG_BLOCK']); ?>
56 + </p>
57 + <div class="acym__wysid__context__modal__container grid-x grid-margin-x grid-margin-y cell xxlarge-up-3 large-up-2 medium-up-1 small-up-1 acym__wysid__right__toolbar__design--show acym__wysid__right__toolbar__blocks">
58 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--title ui-draggable ui-draggable-handle">
59 + <i class="cell acymicon-title"></i>
60 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_TITLE')); ?></div>
61 + </div>
62 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--text ui-draggable ui-draggable-handle">
63 + <i class="cell acymicon-format-align-justify"></i>
64 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_TEXT')); ?></div>
65 + </div>
66 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--button ui-draggable ui-draggable-handle">
67 + <i class="cell acymicon-crop-16-9"></i>
68 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_BUTTON')); ?></div>
69 + </div>
70 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--space ui-draggable ui-draggable-handle">
71 + <i class="cell acymicon-unfold-more"></i>
72 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_SPACE')); ?></div>
73 + </div>
74 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--picture ui-draggable ui-draggable-handle">
75 + <i class="cell acymicon-insert-photo"></i>
76 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_IMAGE')); ?></div>
77 + </div>
78 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--video ui-draggable ui-draggable-handle">
79 + <i class="cell acymicon-play-circle-filled"></i>
80 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_VIDEO')); ?></div>
81 + </div>
82 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--gif ui-draggable ui-draggable-handle">
83 + <i class="cell acymicon-gif"></i>
84 + <div class="cell">Gif</div>
85 + </div>
86 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--unsplash ui-draggable ui-draggable-handle">
87 + <i class="cell acymicon-unsplash"></i>
88 + <div class="cell">Unsplash</div>
89 + </div>
90 + <?php
91 + // Display content plugins
92 + $plugins = acym_trigger('getPossibleIntegrations');
93 +
94 + foreach ($plugins as $onePlugin) {
95 + echo '<div data-plugin="'.esc_attr($onePlugin->plugin).'"
96 + class="grid-x cell acym__wysid__block__element--new ui-draggable ui-draggable-handle"';
97 + if (!empty($onePlugin->title)) {
98 + echo ' title="'.esc_attr($onePlugin->title).'"';
99 + }
100 + echo '>';
101 +
102 + if (empty($onePlugin->icontype) || $onePlugin->icontype === 'img') {
103 + echo '<img class="cell acym-plugin-icon" src="'.esc_url($onePlugin->icon).'" alt="icon"/>';
104 + } elseif ($onePlugin->icontype === 'raw') {
105 + echo wp_kses(
106 + $onePlugin->icon,
107 + [
108 + 'div' => [
109 + 'class' => true,
110 + ],
111 + 'i' => [
112 + 'class' => true,
113 + ],
114 + ]
115 + );
116 + }
117 +
118 + echo '<div class="cell">'.esc_html($onePlugin->name).'</div>';
119 + echo '</div>';
120 + }
121 + ?>
122 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--follow ui-draggable ui-draggable-handle">
123 + <i class="cell acymicon-facebook"></i>
124 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_FOLLOW')); ?></div>
125 + </div>
126 + <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--separator ui-draggable ui-draggable-handle">
127 + <i class="cell acymicon-more-horizontal"></i>
128 + <div class="cell"><?php echo esc_html(acym_translation('ACYM_SEPARATOR')); ?></div>
129 + </div>
130 + </div>
131 +
132 + <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title">
133 + <?php echo esc_html(acym_translation('ACYM_SAVED_ZONES')); ?>
134 + <i class="acymicon-keyboard-arrow-up"></i>
135 + <?php acym_info(['textShownInTooltip' => 'ACYM_SAVED_ZONES_DESC']); ?>
136 + </p>
137 + <div class="acym__wysid__context__modal__container grid-x grid-margin-x grid-margin-y cell xxlarge-up-3 large-up-2 medium-up-1 small-up-1 acym__wysid__right__toolbar__design--show acym__wysid__right__toolbar__saved_zones margin-bottom-2">
138 + <?php
139 + if (empty($data['custom_zones'])) {
140 + echo '<div id="custom_zones_none_message" class="margin-horizontal-1 margin-bottom-1">'.esc_html(acym_translation('ACYM_NO_CUSTOM_ZONE')).'</div>';
141 + } else {
142 + foreach ($data['custom_zones'] as $oneZone) {
143 + echo '<div class="grid-x cell acym__wysid__zone__element--new ui-draggable ui-draggable-handle" data-acym-zone-id="'.esc_attr($oneZone->id).'">';
144 + if (acym_isAdmin()) {
145 + echo '<i class="acymicon-delete"></i>';
146 + }
147 + if (empty($oneZone->image)) {
148 + echo '<i class="cell acymicon-dashboard"></i>';
149 + } else {
150 + echo '<img class="cell saved_zone_image" alt="Logo custom zone" src="'.esc_url(acym_rootURI().$oneZone->image).'" />';
151 + }
152 + echo '<div class="cell">'.esc_html($oneZone->name).'</div>';
153 + echo '</div>';
154 + }
155 + }
156 + ?>
157 + </div>
158 +</div>