PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.11.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.11.1
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 / design.php

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

141 lines 9.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div id="acym__wysid__right__toolbar__design" class="cell grid-y acym__wysid__right__toolbar--menu">
2 <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title">
3 <?php echo acym_translation('ACYM_ZONES'); ?>
4 <i class="acymicon-keyboard-arrow-up"></i>
5 <?php echo acym_info(['textShownInTooltip' => 'ACYM_INTRO_DRAG_ZONE']); ?>
6 </p>
7 <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">
8 <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--1 ui-draggable ui-draggable-handle">
9 <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">
10 <rect class="acym__wysid__row__element__type" width="80.8" height="100"></rect>
11 </svg>
12 </div>
13 <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--2 ui-draggable ui-draggable-handle">
14 <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">
15 <rect class="acym__wysid__row__element__type" width="36.8" height="100"></rect>
16 <rect x="44" class="acym__wysid__row__element__type" width="36.8" height="100"></rect>
17 </svg>
18 </div>
19 <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--3 ui-draggable ui-draggable-handle">
20 <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">
21 <rect y="0.5" class="acym__wysid__row__element__type" width="24.2" height="100"></rect>
22 <rect x="28.5" y="0.5" class="acym__wysid__row__element__type" width="24.2" height="100"></rect>
23 <rect x="57" y="0.5" class="acym__wysid__row__element__type" width="24.2" height="100"></rect>
24 </svg>
25 </div>
26 <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--4 ui-draggable ui-draggable-handle">
27 <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">
28 <rect x="65.6" class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
29 <rect x="44.1" class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
30 <rect x="22.1" class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
31 <rect class="acym__wysid__row__element__type" width="15.8" height="100"></rect>
32 </svg>
33 </div>
34 <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--5 ui-draggable ui-draggable-handle">
35 <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">
36 <rect x="55.6" class="acym__wysid__row__element__type" width="25.2" height="100"></rect>
37 <rect class="acym__wysid__row__element__type" width="50.2" height="100"></rect>
38 </svg>
39 </div>
40 <div class="cell acym__wysid__zone__element--new acym__wysid__zone__element--new--6 ui-draggable ui-draggable-handle">
41 <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">
42 <rect class="acym__wysid__row__element__type" width="25.2" height="100"></rect>
43 <rect x="31" class="acym__wysid__row__element__type" width="50.2" height="100"></rect>
44 </svg>
45 </div>
46 </div>
47
48 <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title">
49 <?php echo acym_translation('ACYM_BLOCKS'); ?>
50 <i class="acymicon-keyboard-arrow-up"></i>
51 <?php echo acym_info(['textShownInTooltip' => 'ACYM_INTRO_DRAG_BLOCK']); ?>
52 </p>
53 <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">
54 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--title ui-draggable ui-draggable-handle">
55 <i class="cell acymicon-title"></i>
56 <div class="cell"><?php echo acym_translation('ACYM_TITLE'); ?></div>
57 </div>
58 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--text ui-draggable ui-draggable-handle">
59 <i class="cell acymicon-format-align-justify"></i>
60 <div class="cell"><?php echo acym_translation('ACYM_TEXT'); ?></div>
61 </div>
62 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--button ui-draggable ui-draggable-handle">
63 <i class="cell acymicon-crop-16-9"></i>
64 <div class="cell"><?php echo acym_translation('ACYM_BUTTON'); ?></div>
65 </div>
66 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--space ui-draggable ui-draggable-handle">
67 <i class="cell acymicon-unfold-more"></i>
68 <div class="cell"><?php echo acym_translation('ACYM_SPACE'); ?></div>
69 </div>
70 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--picture ui-draggable ui-draggable-handle">
71 <i class="cell acymicon-insert-photo"></i>
72 <div class="cell"><?php echo acym_translation('ACYM_IMAGE'); ?></div>
73 </div>
74 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--video ui-draggable ui-draggable-handle">
75 <i class="cell acymicon-play-circle-filled"></i>
76 <div class="cell"><?php echo acym_translation('ACYM_VIDEO'); ?></div>
77 </div>
78 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--gif ui-draggable ui-draggable-handle">
79 <i class="cell acymicon-gif"></i>
80 <div class="cell">Gif</div>
81 </div>
82 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--unsplash ui-draggable ui-draggable-handle">
83 <i class="cell acymicon-unsplash"></i>
84 <div class="cell">Unsplash</div>
85 </div>
86 <?php
87 $plugins = acym_trigger('getPossibleIntegrations');
88
89 foreach ($plugins as $onePlugin) {
90 $title = empty($onePlugin->title) ? '' : 'title="'.acym_escape($onePlugin->title).'"';
91
92 echo '<div '.$title.' data-plugin="'.acym_escape($onePlugin->plugin).'" class="grid-x cell acym__wysid__block__element--new ui-draggable ui-draggable-handle">';
93
94 if (empty($onePlugin->icontype) || $onePlugin->icontype === 'img') {
95 echo '<img class="cell acym-plugin-icon" src="'.$onePlugin->icon.'" alt="icon"/>';
96 } elseif ($onePlugin->icontype === 'raw') {
97 echo $onePlugin->icon;
98 }
99
100 echo '<div class="cell">'.$onePlugin->name.'</div>';
101 echo '</div>';
102 }
103 ?>
104 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--follow ui-draggable ui-draggable-handle">
105 <i class="cell acymicon-facebook"></i>
106 <div class="cell"><?php echo acym_translation('ACYM_FOLLOW'); ?></div>
107 </div>
108 <div class="grid-x cell acym__wysid__block__element--new acym__wysid__block__element--new--separator ui-draggable ui-draggable-handle">
109 <i class="cell acymicon-more-horizontal"></i>
110 <div class="cell"><?php echo acym_translation('ACYM_SEPARATOR'); ?></div>
111 </div>
112 </div>
113
114 <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title">
115 <?php echo acym_translation('ACYM_SAVED_ZONES'); ?>
116 <i class="acymicon-keyboard-arrow-up"></i>
117 <?php echo acym_info(['textShownInTooltip' => 'ACYM_SAVED_ZONES_DESC']); ?>
118 </p>
119 <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">
120 <?php
121 if (empty($data['custom_zones'])) {
122 echo '<div id="custom_zones_none_message" class="margin-horizontal-1 margin-bottom-1">'.acym_translation('ACYM_NO_CUSTOM_ZONE').'</div>';
123 } else {
124 foreach ($data['custom_zones'] as $oneZone) {
125 echo '<div class="grid-x cell acym__wysid__zone__element--new ui-draggable ui-draggable-handle" data-acym-zone-id="'.$oneZone->id.'">';
126 if (acym_isAdmin()) {
127 echo '<i class="acymicon-delete"></i>';
128 }
129 if (empty($oneZone->image)) {
130 echo '<i class="cell acymicon-dashboard"></i>';
131 } else {
132 echo '<img class="cell saved_zone_image" alt="Logo custom zone" src="'.acym_rootURI().$oneZone->image.'" />';
133 }
134 echo '<div class="cell">'.$oneZone->name.'</div>';
135 echo '</div>';
136 }
137 }
138 ?>
139 </div>
140 </div>
141