| 1 |
<div id="acym__wysid__right__toolbar__current-block" style="display: none;" class="grid-padding-x cell acym__wysid__right__toolbar--menu"> |
| 2 |
<p class="acym__wysid__right__toolbar__current-block__empty cell text-center margin-top-1"><?php echo acym_translation('ACYM_NO_BLOCK_SELECTED'); ?></p> |
| 3 |
<div id="acym__wysid__context__block" class="grid-x cell acym__wysid__context__modal padding-1 padding-bottom-2" style="display: none"> |
| 4 |
<p class="cell acym__wysid__right__toolbar__p acym__title"><?php echo acym_translation('ACYM_BACKGROUND'); ?><i class="acymicon-keyboard-arrow-up"></i></p> |
| 5 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 6 |
<div class="cell grid-x acym_vcenter"> |
| 7 |
<label class="cell small-6"><?php echo acym_translation('ACYM_BACKGROUND_COLOR'); ?></label> |
| 8 |
<input type="text" id="acym__wysid__context__block__background-color"> |
| 9 |
</div> |
| 10 |
<div class="cell grid-x acym_vcenter"> |
| 11 |
<label class="cell small-6"><?php echo acym_translation('ACYM_BACKGROUND_IMAGE'); ?></label> |
| 12 |
<i class="acymicon-insert-photo acym__color__light-blue cursor-pointer" id="acym__wysid__context__block__background-image"></i> |
| 13 |
<i class="acymicon-close acym__color__red cursor-pointer" style="display: none" id="acym__wysid__context__block__background-image__remove"></i> |
| 14 |
</div> |
| 15 |
<div class="cell grid-x acym_vcenter"> |
| 16 |
<?php echo acym_switch('transparent_background', 0, acym_translation('ACYM_TRANSPARENT_BACKGROUND'), [], 'small-6 acym__wysid__context__block__transparent__bg'); |
| 17 |
?> |
| 18 |
</div> |
| 19 |
</div> |
| 20 |
<p class="cell acym__wysid__right__toolbar__p acym__title"><?php echo acym_translation('ACYM_PADDING'); ?><i class="acymicon-keyboard-arrow-up"></i></p> |
| 21 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 22 |
<div class="cell grid-x align-center margin-bottom-1"> |
| 23 |
<input type="number" min="0" class="cell small-2 acym__wysid__context__block__padding" data-block-padding="top"> |
| 24 |
</div> |
| 25 |
<div class="cell grid-x align-center acym_vcenter margin-bottom-1"> |
| 26 |
<input type="number" min="0" class="cell small-2 acym__wysid__context__block__padding" data-block-padding="left"> |
| 27 |
<div class="small-4 cell acym__wysid__context__block__padding__exemple"></div> |
| 28 |
<input type="number" min="0" class="cell small-2 acym__wysid__context__block__padding" data-block-padding="right"> |
| 29 |
</div> |
| 30 |
<div class="cell grid-x align-center"> |
| 31 |
<input type="number" min="0" class="cell small-2 acym__wysid__context__block__padding" data-block-padding="bottom"> |
| 32 |
</div> |
| 33 |
</div> |
| 34 |
<p class="cell acym__wysid__right__toolbar__p acym__wysid__context__modal__container--structure acym__title"><?php echo acym_translation('ACYM_STRUCTURE'); ?> |
| 35 |
<i class="acymicon-keyboard-arrow-up"></i></p> |
| 36 |
<div class="cell grid-x acym__wysid__context__modal__container acym__wysid__context__modal__container--structure acym__wysid__context__modal__container--structure--container"> |
| 37 |
<div class="cell grid-x grid-margin-x acym_vcenter"> |
| 38 |
<h6 class="cell shrink"><?php echo acym_translation('ACYM_RESIZE_COLUMNS_OF_ROW'); ?></h6> |
| 39 |
<div class="cell auto hide-for-medium-only hide-for-small-only"></div> |
| 40 |
<a href="<?php echo ACYM_DOCUMENTATION; ?>" target="_blank"><i class="acymicon-book"></i></a> |
| 41 |
</div> |
| 42 |
<div class="grid-x cell acym__wysid__context__modal__container__block-settings grid-margin-y acym-grid-margin-x"> |
| 43 |
</div> |
| 44 |
<div class="cell grid-x acym__wysid__context__modal__block-background acym_vcenter margin-top-1"> |
| 45 |
</div> |
| 46 |
<div class="cell grid-x acym__wysid__context__modal__block-columns-image acym_vcenter margin-top-1"> |
| 47 |
</div> |
| 48 |
<div class="cell grid-x acym__wysid__context__modal__block-padding"> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
<p class="cell acym__wysid__right__toolbar__p acym__title"><?php echo acym_translation('ACYM_BORDER'); ?><i class="acymicon-keyboard-arrow-up"></i></p> |
| 52 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 53 |
<div class="cell grid-x"> |
| 54 |
<label class="cell small-5"><?php echo acym_translation('ACYM_RADIUS'); ?></label> |
| 55 |
<input type="number" max="20" min="0" class="cell small-2 acym__wysid__context__block__border__actions" data-css="border-radius"> |
| 56 |
</div> |
| 57 |
<div class="cell grid-x"> |
| 58 |
<label class="cell small-5"><?php echo acym_translation('ACYM_WIDTH'); ?></label> |
| 59 |
<input type="number" max="10" min="0" class="cell small-2 acym__wysid__context__block__border__actions" data-css="border-width""> |
| 60 |
</div> |
| 61 |
<div class="cell grid-x acym_vcenter"> |
| 62 |
<label class="cell small-5"><?php echo acym_translation('ACYM_COLOR'); ?></label> |
| 63 |
<input type="number" max="20" min="0" class="cell small-2" id="acym__wysid__context__block__border__color"> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
<p class="cell acym__wysid__right__toolbar__p acym__title"><?php echo acym_translation('ACYM_ADVANCED_OPTIONS'); ?><i class="acymicon-keyboard-arrow-up"></i></p> |
| 67 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 68 |
<label class="cell small-5"><?php echo acym_translation('ACYM_HTML_ID').acym_info(['textShownInTooltip' => 'ACYM_HTML_ID_DESC']); ?></label> |
| 69 |
<input type="text" |
| 70 |
class="cell small-6" |
| 71 |
id="acym__wysid__context__block__custom_id" |
| 72 |
placeholder="<?php echo acym_escape(acym_translation('ACYM_HTML_ID')); ?>"> |
| 73 |
<div class="cell grid-x acym__wysid__context__block__code-source"> |
| 74 |
<label class="cell small-5 acym_vcenter"> |
| 75 |
<?php echo acym_translation('ACYM_EDIT_BLOCK_HTML').acym_info(['textShownInTooltip' => 'ACYM_BECAREFUL_EDITING_SOURCE_CODE']); ?> |
| 76 |
</label> |
| 77 |
<div class="cell shrink acym_vcenter"> |
| 78 |
<button type="button" class="button button-secondary" id="acym__wysid__context__block__edit-html"> |
| 79 |
<?php echo acym_translation('ACYM_EDIT_HTML'); ?> |
| 80 |
</button> |
| 81 |
</div> |
| 82 |
</div> |
| 83 |
</div> |
| 84 |
</div> |
| 85 |
<?php include acym_getPartial('editor', 'context_text'); ?> |
| 86 |
<div id="acym__wysid__context__button" class="grid-x padding-1 acym__wysid__context__modal" style="display: none"> |
| 87 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 88 |
<?php echo acym_translation('ACYM_BUTTON_TYPE'); ?> |
| 89 |
<i class="acymicon-keyboard-arrow-up"></i> |
| 90 |
</p> |
| 91 |
<div class="grid-x cell acym__wysid__context__modal__container grid-margin-x"> |
| 92 |
<button type="button" |
| 93 |
class="button-radio cell medium-4 acym__wysid__context__button--type" |
| 94 |
acym-button-radio-group="buttonType" |
| 95 |
acym-data-type="call-action"><?php echo acym_translation('ACYM_CALL_TO_ACTION'); ?></button> |
| 96 |
<?php |
| 97 |
echo acym_tooltip( |
| 98 |
[ |
| 99 |
'hoveredText' => '<button type="button" |
| 100 |
class="button-radio cell acym__wysid__context__button--type" |
| 101 |
acym-button-radio-group="buttonType" |
| 102 |
acym-data-type="unsubscribe">'.acym_translation('ACYM_UNSUBSCRIBE').'</button>', |
| 103 |
'textShownInTooltip' => acym_translation('ACYM_UNSUBSCRIBE_BUTTON_DESC'), |
| 104 |
'classContainer' => 'cell medium-4 grid-x', |
| 105 |
] |
| 106 |
); |
| 107 |
|
| 108 |
echo acym_tooltip( |
| 109 |
[ |
| 110 |
'hoveredText' => '<button type="button" |
| 111 |
class="button-radio cell acym__wysid__context__button--type" |
| 112 |
acym-button-radio-group="buttonType" |
| 113 |
acym-data-type="confirm">'.acym_translation('ACYM_SUBSCRIPTION_CONFIRMATION').'</button>', |
| 114 |
'textShownInTooltip' => acym_translation('ACYM_SUBSCRIPTION_CONFIRMATION_BUTTON_DESC'), |
| 115 |
'classContainer' => 'cell medium-4 grid-x', |
| 116 |
] |
| 117 |
); |
| 118 |
?> |
| 119 |
</div> |
| 120 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 121 |
<?php echo acym_translation('ACYM_CONTENT'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 122 |
</p> |
| 123 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 124 |
<div class="grid-x cell acym__wysid__context__button__text__container"> |
| 125 |
<label class="cell small-5"><?php echo acym_translation('ACYM_TEXT'); ?></label> |
| 126 |
<input id="acym__wysid__context__button__text" class="auto cell" type="text" placeholder="<?php echo acym_translation('ACYM_MY_BUTTON'); ?>"> |
| 127 |
</div> |
| 128 |
<div class="grid-x cell acym__wysid__context__button__link__container"> |
| 129 |
<div class="cell grid-x"> |
| 130 |
<label class="cell small-5" for="acym__wysid__context__button__link"><?php echo acym_translation('ACYM_LINK'); ?></label> |
| 131 |
<input id="acym__wysid__context__button__link" class="input-group-field cell auto" type="text" placeholder="https://www.example.com"> |
| 132 |
</div> |
| 133 |
</div> |
| 134 |
<div class="grid-x cell acym__wysid__context__button__redirection__container"> |
| 135 |
<div class="cell grid-x"> |
| 136 |
<label class="cell small-5" for="acym__wysid__context__button__redirection"><?php echo acym_translation('ACYM_REDIRECTION_URL'); ?></label> |
| 137 |
<input id="acym__wysid__context__button__redirection" class="input-group-field cell auto" type="text" placeholder="https://www.example.com"> |
| 138 |
</div> |
| 139 |
</div> |
| 140 |
<div class="grid-x cell acym__wysid__context__button__link__file"> |
| 141 |
<div class="cell grid-x"> |
| 142 |
<label class="cell small-5"> |
| 143 |
<?php echo acym_translation('ACYM_FILE'); ?> |
| 144 |
<?php echo acym_info(['textShownInTooltip' => 'ACYM_FILE_GENERATE_LINK_BUTTON_EDITOR']); ?> |
| 145 |
</label> |
| 146 |
<button id="acym__wysid__context__button__file" type="button" class="button button-secondary"><?php echo acym_translation('ACYM_SELECT_FILE'); ?></button> |
| 147 |
</div> |
| 148 |
</div> |
| 149 |
</div> |
| 150 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 151 |
<?php echo acym_translation('ACYM_FONT'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 152 |
</p> |
| 153 |
<div class="grid-x cell acym__wysid__context__modal__container"> |
| 154 |
<div class="cell grid-x"> |
| 155 |
<label class="cell small-5"><?php echo acym_translation('ACYM_FORMATTING'); ?></label> |
| 156 |
<i id="acym__wysid__context__button__italic" class="acymicon-format-italic small-1 cell acym__wysid__context__button__actions-i"></i> |
| 157 |
<i id="acym__wysid__context__button__bold" class="acymicon-format-bold small-1 cell acym__wysid__context__button__actions-i"></i> |
| 158 |
</div> |
| 159 |
<div class="cell grid-x"> |
| 160 |
<label for="acym__wysid__context__button__font" class="cell small-5"><?php echo acym_translation('ACYM_FONT_FAMILY'); ?></label> |
| 161 |
<select id="acym__wysid__context__button__font-family" class="auto cell"> |
| 162 |
<option style="font-family: 'Andale Mono'">Andale Mono</option> |
| 163 |
<option style="font-family: 'Arial'">Arial</option> |
| 164 |
<option style="font-family: 'Book Antiqua'">Book Antiqua</option> |
| 165 |
<option style="font-family: 'Comic Sans MS'">Comic Sans MS</option> |
| 166 |
<option style="font-family: 'Courier New'">Courier New</option> |
| 167 |
<option style="font-family: 'Georgia'">Georgia</option> |
| 168 |
<option style="font-family: 'Helvetica'">Helvetica</option> |
| 169 |
<option style="font-family: 'Impact'">Impact</option> |
| 170 |
<option style="font-family: 'Times New Roman'">Times New Roman</option> |
| 171 |
<option style="font-family: 'Trebuchet MS'">Trebuchet MS</option> |
| 172 |
<option style="font-family: 'Verdana'">Verdana</option> |
| 173 |
</select> |
| 174 |
</div> |
| 175 |
<div class="cell grid-x"> |
| 176 |
<label for="acym__wysid__context__button__font" class="cell small-5"><?php echo acym_translation('ACYM_SIZE'); ?></label> |
| 177 |
<select id="acym__wysid__context__button__font-size" class="small-5 cell"> |
| 178 |
<option>10</option> |
| 179 |
<option>12</option> |
| 180 |
<option>14</option> |
| 181 |
<option>16</option> |
| 182 |
<option>18</option> |
| 183 |
<option>20</option> |
| 184 |
<option>24</option> |
| 185 |
<option>28</option> |
| 186 |
<option>30</option> |
| 187 |
<option>34</option> |
| 188 |
<option>36</option> |
| 189 |
</select> |
| 190 |
</div> |
| 191 |
<div class="cell grid-x"> |
| 192 |
<label for="acym__wysid__context__button__background" class="cell small-5"><?php echo acym_translation('ACYM_COLOR'); ?></label> |
| 193 |
<input type="text" id="acym__wysid__context__button__color" class="small-2 cell"> |
| 194 |
</div> |
| 195 |
</div> |
| 196 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 197 |
<?php echo acym_translation('ACYM_BORDER'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 198 |
</p> |
| 199 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 200 |
<div class="grid-x cell"> |
| 201 |
<label class="cell small-5"><?php echo acym_translation('ACYM_WIDTH'); ?></label> |
| 202 |
<select id="acym__wysid__context__button__border-width" class="small-5 cell"> |
| 203 |
<option>0</option> |
| 204 |
<option>1</option> |
| 205 |
<option>2</option> |
| 206 |
<option>3</option> |
| 207 |
<option>4</option> |
| 208 |
<option>5</option> |
| 209 |
</select> |
| 210 |
</div> |
| 211 |
<div class="grid-x cell"> |
| 212 |
<label class="small-5 cell"><?php echo acym_translation('ACYM_RADIUS'); ?></label> |
| 213 |
<select id="acym__wysid__context__button__border-radius" class="small-5 cell"> |
| 214 |
<option>0</option> |
| 215 |
<option>5</option> |
| 216 |
<option>10</option> |
| 217 |
<option>15</option> |
| 218 |
<option>20</option> |
| 219 |
<option>25</option> |
| 220 |
</select> |
| 221 |
</div> |
| 222 |
<div class="cell grid-x"> |
| 223 |
<label class="cell small-5"><?php echo acym_translation('ACYM_COLOR'); ?></label> |
| 224 |
<input type="text" id="acym__wysid__context__button__border-color" class="small-5 cell"> |
| 225 |
</div> |
| 226 |
</div> |
| 227 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 228 |
<?php echo acym_translation('ACYM_OTHER'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 229 |
</p> |
| 230 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 231 |
<div class="cell grid-x"> |
| 232 |
<label for="acym__wysid__context__button__background-color" class="cell small-5"> |
| 233 |
<?php echo acym_translation('ACYM_BACKGROUND_COLOR').acym_info(['textShownInTooltip' => 'ACYM_BACKGROUND_COLOR_BUTTON_DESC']); ?> |
| 234 |
</label> |
| 235 |
<input type="text" id="acym__wysid__context__button__background-color" class="small-5 cell"> |
| 236 |
</div> |
| 237 |
<div class="grid-x cell"> |
| 238 |
<div class="cell grid-x"> |
| 239 |
<label class="cell small-5"><?php echo acym_translation('ACYM_ALIGNMENT'); ?></label> |
| 240 |
<i class="acymicon-format-align-left cell shrink acym__wysid__context__button__align" id="acym__wysid__context__button__align__left" data-align="left"></i> |
| 241 |
<i class="acymicon-format-align-center cell shrink acym__wysid__context__button__align" |
| 242 |
id="acym__wysid__context__button__align__center" |
| 243 |
data-align="center"></i> |
| 244 |
<i class="acymicon-format-align-right cell shrink acym__wysid__context__button__align" id="acym__wysid__context__button__align__right" data-align="right"></i> |
| 245 |
</div> |
| 246 |
</div> |
| 247 |
<div class="cell grid-x margin-top-1 acym_vcenter margin-bottom-1"> |
| 248 |
<?php |
| 249 |
echo acym_switch( |
| 250 |
'full_width', |
| 251 |
0, |
| 252 |
acym_tooltip( |
| 253 |
[ |
| 254 |
'hoveredText' => acym_translation('ACYM_FULL_WIDTH'), |
| 255 |
'textShownInTooltip' => acym_translation('ACYM_FULL_WIDTH_DESC'), |
| 256 |
] |
| 257 |
), |
| 258 |
[], |
| 259 |
'small-5' |
| 260 |
); |
| 261 |
?> |
| 262 |
<div class="cell grid-x acym__button__padding"> |
| 263 |
<div class="cell grid-x"> |
| 264 |
<div class="cell grid-x small-12"> |
| 265 |
<label class="cell small-3"><?php echo acym_translation('ACYM_PADDING'); ?></label> |
| 266 |
<div class="small-6 padding-right-1 padding-left-1 cell acym__wysid__context__button__slider" data-output="slider__output__button__width"> |
| 267 |
<div class="slider" data-slider="" data-end="100" data-initial-start="25"> |
| 268 |
<span class="slider-handle" |
| 269 |
data-slider-handle="" |
| 270 |
role="slider" |
| 271 |
tabindex="0" |
| 272 |
aria-controls="slider__output__button__width" |
| 273 |
aria-valuemax="50" |
| 274 |
data-valuenow="25" |
| 275 |
aria-valuemin="10" |
| 276 |
style="left: 44%"></span> |
| 277 |
<span class="slider-fill" data-slider-fill="" style="width: 44%;"></span> |
| 278 |
</div> |
| 279 |
</div> |
| 280 |
<div class="small-2 cell" id="acym__wysid__context__space__input"> |
| 281 |
<input type="number" id="slider__output__button__width" max="50" min="10" step="1"> |
| 282 |
</div> |
| 283 |
</div> |
| 284 |
<div class="cell grid-x acym_vcenter"> |
| 285 |
<div class="cell small-3 grid-x acym__wysid__context__button__slider" data-output="slider__output__button__height"> |
| 286 |
<div class="slider vertical" data-slider data-initial-start="25" data-end="100" data-vertical="true"> |
| 287 |
<span class="slider-handle" data-slider-handle role="slider" tabindex="0" aria-controls="slider__output__button__height"></span> |
| 288 |
<span class="slider-fill" data-slider-fill></span> |
| 289 |
</div> |
| 290 |
</div> |
| 291 |
<div class="cell small-7 acym__button__padding__shape align-center acym_vcenter"><?php echo acym_translation('ACYM_BUTTON'); ?></div> |
| 292 |
<div class="cell grid-x"> |
| 293 |
<input type="number" class="cell small-2" id="slider__output__button__height" max="50" min="10" step="1"> |
| 294 |
</div> |
| 295 |
</div> |
| 296 |
</div> |
| 297 |
</div> |
| 298 |
</div> |
| 299 |
</div> |
| 300 |
</div> |
| 301 |
<div id="acym__wysid__context__space" style="display: none" class="grid-x padding-1 acym__wysid__context__modal"> |
| 302 |
<label class="cell small-3"><?php echo acym_translation('ACYM_HEIGHT'); ?></label> |
| 303 |
<div class="small-6 padding-right-1 cell" id="acym__wysid__context__space__slider"> |
| 304 |
<div class="slider" data-slider="" data-initial-start="50" data-start="10" data-e="2mf38c-e"> |
| 305 |
<span class="slider-handle" |
| 306 |
data-slider-handle="" |
| 307 |
role="slider" |
| 308 |
tabindex="0" |
| 309 |
aria-controls="sliderOutput1" |
| 310 |
aria-valuemax="100" |
| 311 |
aria-valuemin="10" |
| 312 |
aria-valuenow="50" |
| 313 |
aria-orientation="horizontal" |
| 314 |
style="left: 44%;"></span> |
| 315 |
<span class="slider-fill" data-slider-fill="" style="width: 44%;"></span> |
| 316 |
</div> |
| 317 |
</div> |
| 318 |
<div class="small-2 cell" id="acym__wysid__context__space__input"> |
| 319 |
<input type="number" id="sliderOutput1" max="100" min="10" step="1"> |
| 320 |
</div> |
| 321 |
</div> |
| 322 |
<div id="acym__wysid__context__image" style="display: none" class="grid-x padding-1 acym__wysid__context__modal"> |
| 323 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 324 |
<?php echo acym_translation('ACYM_POSITION'); ?><i class="acymicon-keyboard-arrow-up"></i></p> |
| 325 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 326 |
<div class="cell grid-x"> |
| 327 |
<label class="cell small-3"><?php echo acym_translation('ACYM_ALIGNMENT'); ?></label> |
| 328 |
<div class="cell auto grid-x"> |
| 329 |
<i class="acymicon-format-align-left cell shrink acym__wysid__context__image__align" |
| 330 |
id="acym__wysid__context__image__align__left" |
| 331 |
data-float="left" |
| 332 |
data-css='{"float": "left"}'></i> |
| 333 |
<i class="acymicon-format-align-center cell shrink acym__wysid__context__image__align" |
| 334 |
id="acym__wysid__context__image__align__center" |
| 335 |
data-float="none" |
| 336 |
data-css='{"marginRight": "auto", "marginLeft": "auto", "float": "none", "display": "inline-block"}'></i> |
| 337 |
<i class="acymicon-format-align-right cell shrink acym__wysid__context__image__align" |
| 338 |
id="acym__wysid__context__image__align__right" |
| 339 |
data-float="right" |
| 340 |
data-css='{"float": "right"}'></i> |
| 341 |
</div> |
| 342 |
</div> |
| 343 |
</div> |
| 344 |
<div class="cell grid-x"> |
| 345 |
<label class="cell small-3"><?php echo acym_translation('ACYM_WIDTH'); ?></label> |
| 346 |
<div class="cell auto grid-x"> |
| 347 |
<input class="intext_input acym_context_image_size_input" id="acym__wysid__context__image__width" name="contextImageWidth" type="number" /> |
| 348 |
</div> |
| 349 |
</div> |
| 350 |
<div class="cell grid-x"> |
| 351 |
<label class="cell small-3"><?php echo acym_translation('ACYM_HEIGHT'); ?></label> |
| 352 |
<div class="cell auto grid-x"> |
| 353 |
<input class="intext_input acym_context_image_size_input" id="acym__wysid__context__image__height" name="contextImageHeight" type="number" /> |
| 354 |
</div> |
| 355 |
</div> |
| 356 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 357 |
<?php echo acym_translation('ACYM_IMAGE_URL'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 358 |
</p> |
| 359 |
<div class="cell grid-x acym__wysid__context__modal__container align-center"> |
| 360 |
<label for="acym__wysid__context__image__url" class="cell small-4"><?php echo acym_translation('ACYM_URL'); ?></label> |
| 361 |
<input type="text" |
| 362 |
name="image_url" |
| 363 |
value="" |
| 364 |
id="acym__wysid__context__image__url" |
| 365 |
placeholder="https://www.example.com/image.png" |
| 366 |
class="cell small-8"> |
| 367 |
<label for="acym__upload__context__image__alt" class="cell small-4"> |
| 368 |
<?php echo acym_translation('ACYM_IMAGE_ALT').acym_info(['textShownInTooltip' => 'ACYM_IMAGE_ALT_DESCRIPTION']); ?> |
| 369 |
</label> |
| 370 |
<input type="text" |
| 371 |
name="image_alt" |
| 372 |
value="" |
| 373 |
id="acym__upload__context__image__alt" |
| 374 |
class="cell small-8"> |
| 375 |
<label for="acym__upload_context__image__title" class="cell small-4"> |
| 376 |
<?php echo acym_translation('ACYM_IMAGE_TITLE').acym_info(['textShownInTooltip' => 'ACYM_IMAGE_TITLE_DESCRIPTION']); ?> |
| 377 |
</label> |
| 378 |
<input type="text" |
| 379 |
name="image_title" |
| 380 |
value="" |
| 381 |
id="acym__upload_context__image__title" |
| 382 |
class="cell small-8"> |
| 383 |
<label for="acym__upload__context__image__caption" class="cell small-4"> |
| 384 |
<?php echo acym_translation('ACYM_CAPTION'); ?> |
| 385 |
</label> |
| 386 |
<input type="text" |
| 387 |
name="image_caption" |
| 388 |
value="" |
| 389 |
id="acym__upload__context__image__caption" |
| 390 |
class="cell small-8"> |
| 391 |
<button type="button" class="cell shrink button button-secondary margin-top-1" id="acym__wysid__context__image__change"> |
| 392 |
<?php echo acym_translation('ACYM_MEDIA_MANAGE'); ?> |
| 393 |
</button> |
| 394 |
</div> |
| 395 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 396 |
<?php echo acym_translation('ACYM_LINK'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 397 |
</p> |
| 398 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 399 |
<label for="acym__wysid__context__image__link" class="cell small-4"><?php echo acym_translation('ACYM_LINK'); ?></label> |
| 400 |
<input type="text" name="image_link" value="" id="acym__wysid__context__image__link" placeholder="https://www.example.com" class="cell small-8"> |
| 401 |
</div> |
| 402 |
</div> |
| 403 |
<div id="acym__wysid__context__separator" class="grid-x padding-1 acym__wysid__context__modal" style="display: none"> |
| 404 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 405 |
<?php echo acym_translation('ACYM_STYLE'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 406 |
</p> |
| 407 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 408 |
<div class="cell grid-x grid-margin-x"> |
| 409 |
<div class="acym__wysid__context__separator__kind cell small-3 separator-selected"> |
| 410 |
<hr data-kind="solid" style="border-bottom: 3px solid black"> |
| 411 |
</div> |
| 412 |
<div class="acym__wysid__context__separator__kind cell small-3"> |
| 413 |
<hr data-kind="dotted" style="border-bottom: 3px dotted black"> |
| 414 |
</div> |
| 415 |
<div class="acym__wysid__context__separator__kind cell small-3"> |
| 416 |
<hr data-kind="dashed" style="border-bottom: 3px dashed black"> |
| 417 |
</div> |
| 418 |
<div class="acym__wysid__context__separator__kind cell small-3"> |
| 419 |
<hr data-kind="double" style="border-bottom: 3px double black"> |
| 420 |
</div> |
| 421 |
</div> |
| 422 |
<label class="cell small-11 grid-x grid-margin-x margin-top-1"> |
| 423 |
<label class="cell small-3 acym__color__light-blue"><?php echo acym_translation('ACYM_COLOR'); ?></label> |
| 424 |
<input type="text" id="acym__wysid__context__separator__color"> |
| 425 |
</label> |
| 426 |
</div> |
| 427 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 428 |
<?php echo acym_translation('ACYM_SIZE'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 429 |
</p> |
| 430 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 431 |
<div class="cell grid-x"> |
| 432 |
<label class="cell small-3 acym_vcenter acym__color__light-blue"><?php echo acym_translation('ACYM_HEIGHT'); ?></label> |
| 433 |
<div class="small-6 padding-right-1 padding-left-1 cell" id="acym__wysid__context__separator__slide"> |
| 434 |
<div class="slider" data-slider data-initial-start="3" data-start="1" data-e="2mf38c-e"> |
| 435 |
<span class="slider-handle" |
| 436 |
data-slider-handle |
| 437 |
role="slider" |
| 438 |
tabindex="0" |
| 439 |
aria-controls="sliderOutput2" |
| 440 |
aria-valuemax="20" |
| 441 |
aria-valuemin="1" |
| 442 |
aria-valuenow="3" |
| 443 |
aria-orientation="horizontal" |
| 444 |
style="left: 44%;"></span> |
| 445 |
<span class="slider-fill" data-slider-fill style="width: 44%;"></span> |
| 446 |
</div> |
| 447 |
</div> |
| 448 |
<div class="small-2 cell margin-left-1" id="acym__wysid__context__separator__input__height"> |
| 449 |
<input type="number" id="sliderOutput2" max="20" min="1" step="1" value="3"> |
| 450 |
</div> |
| 451 |
</div> |
| 452 |
<div class="cell grid-x"> |
| 453 |
<label class="cell small-3 acym_vcenter acym__color__light-blue"><?php echo acym_translation('ACYM_WIDTH'); ?></label> |
| 454 |
<div class="small-6 padding-right-1 padding-left-1 cell" id="acym__wysid__context__separator__slide__width"> |
| 455 |
<div class="slider" data-slider data-initial-start="100"> |
| 456 |
<span class="slider-handle" data-slider-handle role="slider" tabindex="1" aria-controls="sliderOutput3" style="left: 100%;"></span> |
| 457 |
<span class="slider-fill" data-slider-fill style="width: 100%;"></span> |
| 458 |
</div> |
| 459 |
</div> |
| 460 |
<div class="small-2 cell margin-left-1" id="acym__wysid__context__separator__input__width"> |
| 461 |
<input type="number" id="sliderOutput3" max="100" min="0" step="1" value="100"> |
| 462 |
</div> |
| 463 |
</div> |
| 464 |
<div class="cell grid-x"> |
| 465 |
<label class="cell small-3 acym_vcenter acym__color__light-blue"><?php echo acym_translation('ACYM_SPACE'); ?></label> |
| 466 |
<div class="small-6 padding-right-1 padding-left-1 cell" id="acym__wysid__context__separator__slide__space"> |
| 467 |
<div class="slider" data-slider data-initial-start="10" data-options="end:50;"> |
| 468 |
<span class="slider-handle" data-slider-handle role="slider" tabindex="1" aria-controls="sliderOutput4" style="left: 100%;"></span> |
| 469 |
<span class="slider-fill" data-slider-fill style="width: 100%;"></span> |
| 470 |
</div> |
| 471 |
</div> |
| 472 |
<div class="small-2 cell margin-left-1" id="acym__wysid__context__separator__input__space"> |
| 473 |
<input type="number" id="sliderOutput4" max="50" min="0" step="1" value="10"> |
| 474 |
</div> |
| 475 |
</div> |
| 476 |
</div> |
| 477 |
</div> |
| 478 |
<div id="acym__wysid__context__follow" class="grid-x padding-1 acym__wysid__context__modal" style="display: none"> |
| 479 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 480 |
<?php echo acym_translation('ACYM_LINKS'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 481 |
</p> |
| 482 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 483 |
<div class="grid-x cell margin-bottom-1"> |
| 484 |
<label class="cell small-3"><?php echo acym_translation('ACYM_ADD_NEW'); ?></label> |
| 485 |
<div class="small-2 cell"> |
| 486 |
<select name="acym__wysid__context__follow__select" id="acym__wysid__context__follow__select"> |
| 487 |
</select> |
| 488 |
</div> |
| 489 |
</div> |
| 490 |
<div id="acym__wysid__context__follow__list" class="grid-x small-12 cell"> |
| 491 |
</div> |
| 492 |
</div> |
| 493 |
<p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> |
| 494 |
<?php echo acym_translation('ACYM_OTHER'); ?><i class="acymicon-keyboard-arrow-up"></i> |
| 495 |
</p> |
| 496 |
<div class="cell grid-x acym__wysid__context__modal__container"> |
| 497 |
<div class="cell grid-x"> |
| 498 |
<label class="small-3 cell"><?php echo acym_translation('ACYM_WIDTH'); ?></label> |
| 499 |
<div class="small-6 padding-right-1 padding-left-1 cell" id="acym__wysid__context__social__width__slider"> |
| 500 |
<div class="slider" data-slider data-initial-start="40" data-options="start:30;end:80;"> |
| 501 |
<span class="slider-handle" data-slider-handle role="slider" tabindex="1" aria-controls="acym__wysid__context__social__width" style="left: 100%;"></span> |
| 502 |
<span class="slider-fill" data-slider-fill style="width: 100%;"></span> |
| 503 |
</div> |
| 504 |
</div> |
| 505 |
<div class="small-2 cell margin-left-1"> |
| 506 |
<input type="number" id="acym__wysid__context__social__width" max="80" min="30" step="1" value="30"> |
| 507 |
</div> |
| 508 |
</div> |
| 509 |
<div class="grid-x cell margin-top-1"> |
| 510 |
<div class="cell grid-x grid-margin-x"> |
| 511 |
<label class="cell small-3"><?php echo acym_translation('ACYM_ALIGNMENT'); ?></label> |
| 512 |
<div class="cell auto grid-x"> |
| 513 |
<i class="acymicon-format-align-left cell shrink acym__wysid__context__follow__align" id="acym__wysid__context__follow__align__left" data-align="left"></i> |
| 514 |
<i class="acymicon-format-align-center cell shrink acym__wysid__context__follow__align" |
| 515 |
id="acym__wysid__context__follow__align__center" |
| 516 |
data-align="center"></i> |
| 517 |
<i class="acymicon-format-align-right cell shrink acym__wysid__context__follow__align" |
| 518 |
id="acym__wysid__context__follow__align__right" |
| 519 |
data-align="right"></i> |
| 520 |
</div> |
| 521 |
</div> |
| 522 |
</div> |
| 523 |
</div> |
| 524 |
</div> |
| 525 |
<?php if ($this->config->get('display_built_by', 0) == 1) { ?> |
| 526 |
<div id="acym__wysid__context__poweredby" style="display: none" class="grid-x padding-1 acym__wysid__context__modal"> |
| 527 |
<?php if (!acym_level(ACYM_ESSENTIAL)) { ?> |
| 528 |
<h3 class="cell acym__title text-center"><?php echo acym_translation('ACYM_WANT_TO_REMOVE_THIS'); ?></h3> |
| 529 |
<div class="cell grid-x grid-margin-y text-center margin-bottom-1"> |
| 530 |
<div class="cell"><?php echo acym_translation('ACYM_SEEING_THIS_AS_FREE_VERSION'); ?></div> |
| 531 |
<div class="cell"><?php echo acym_translation('ACYM_DISABLE_BY_GETTING_PRO'); ?></div> |
| 532 |
<div class="cell"><?php echo acym_translation('ACYM_PRICES_STARTS_AT'); ?></div> |
| 533 |
</div> |
| 534 |
<div class="cell text-center margin-bottom-1"> |
| 535 |
<a class="button button-secondary" |
| 536 |
target="_blank" |
| 537 |
href="<?php echo ACYM_ACYMAILING_WEBSITE; ?>pricing/?utm_source=acymailing_plugin&utm_campaign=purchase&utm_medium=built_with_footer"> |
| 538 |
<?php echo acym_translation('ACYM_SEE_PRO_VERSION_FEATURES'); ?> |
| 539 |
</a> |
| 540 |
</div> |
| 541 |
<hr data-kind="solid" style="border-bottom: 1px solid black" class="cell margin-1"> |
| 542 |
<?php } ?> |
| 543 |
<div class="grid-x small-12 cell"> |
| 544 |
<label class="middle large-6 small-8 cell" for="acym__wysid__built-with__text__color"><?php echo acym_translation('ACYM_BUILT_WITH_IMAGE_TEXT_COLOR'); ?></label> |
| 545 |
<div class="cell large-6 small-4"> |
| 546 |
<?php |
| 547 |
$brightness = [ |
| 548 |
'black' => acym_translation('ACYM_BLACK'), |
| 549 |
'white' => acym_translation('ACYM_WHITE'), |
| 550 |
]; |
| 551 |
echo acym_select( |
| 552 |
$brightness, |
| 553 |
'acym__wysid__built-with__text__color', |
| 554 |
'black', |
| 555 |
['class' => 'acym__select'] |
| 556 |
); |
| 557 |
?> |
| 558 |
</div> |
| 559 |
</div> |
| 560 |
</div> |
| 561 |
<?php } ?> |
| 562 |
|
| 563 |
<div id="acym__wysid__context__plugins" class="grid-x padding-1 acym__wysid__context__modal margin-top-1 padding-bottom-2" style="display: none"> |
| 564 |
</div> |
| 565 |
</div> |
| 566 |
|