| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<div class="acym__content acym_center_baseline cell grid-x large-4 margin-bottom-1"> |
| 5 |
<label class="cell grid-x"> |
| 6 |
<span class="cell medium-4 acym__label"><?php echo esc_html(acym_translation('ACYM_NAME')); ?></span> |
| 7 |
<input required class="cell medium-7" type="text" name="bounce[name]" value="<?php echo empty($data['rule']) ? '' : esc_attr($data['rule']->name); ?>"> |
| 8 |
</label> |
| 9 |
<div class="cell grid-x margin-top-1"><?php acym_switch([ |
| 10 |
'name' => 'bounce[active]', |
| 11 |
'value' => (empty($data['rule']) ? 1 : $data['rule']->active), |
| 12 |
'label' => acym_translation('ACYM_ENABLED'), |
| 13 |
'labelClass' => 'medium-4', |
| 14 |
]); ?></div> |
| 15 |
<label class="cell grid-x grid-margin-x"> |
| 16 |
<span class="cell medium-4 acym__label"><?php echo esc_html(acym_translation('ACYM_DESCRIPTION')); ?>:</span> |
| 17 |
<div class="cell medium-8 acym__label"> |
| 18 |
<textarea class="acym__description" rows="3" maxlength="200" id="acym__bounces__sum__description" name="bounce[description]"><?php echo esc_html( |
| 19 |
(empty($data['rule']) || empty($data['rule']->description) ? '' : $data['rule']->description) |
| 20 |
); ?></textarea> |
| 21 |
</div> |
| 22 |
</label> |
| 23 |
</div> |
| 24 |
|