PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.0.3
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.0.3
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 / Views / Fields / tmpl / edit_style.php

edit_style.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.0.3, at back/Views/Fields/tmpl/edit_style.php

28 lines 1.5 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 $margin = $data['field']->id == $data['languageFieldId'] ? '' : 'margin-top-2'; ?>
5 <h2 class="cell acym__title acym__title__secondary <?php echo esc_attr($margin); ?> acym__fields__edit__section__title" id="acym__fields__edit__section__title--style">
6 <?php echo esc_html(acym_translation('ACYM_FIELD_STYLE')); ?>
7 </h2>
8
9 <label class="cell large-6 acym__fields__change" id="acym__fields__rows"><?php echo esc_html(acym_translation('ACYM_ROWS')); ?>
10 <input type="number"
11 name="field[option][rows]"
12 value="<?php echo empty($data['field']->option->rows) ? '' : esc_attr($data['field']->option->rows); ?>">
13 </label>
14
15 <label class="cell large-6 acym__fields__change" id="acym__fields__columns"><?php echo esc_html(acym_translation('ACYM_COLUMNS')); ?>
16 <input type="number"
17 name="field[option][columns]"
18 value="<?php echo empty($data['field']->option->columns) ? '' : esc_attr($data['field']->option->columns); ?>">
19 </label>
20
21 <label class="cell large-6 acym__fields__change grid-x" id="acym__fields__size">
22 <span class="cell"><?php echo esc_html(acym_translation('ACYM_INPUT_WIDTH')); ?></span>
23 <input type="number"
24 name="field[option][size]"
25 value="<?php echo empty($data['field']->option->size) ? '' : esc_attr($data['field']->option->size); ?>"
26 class="cell medium-4">
27 </label>
28