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