| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<div class="grid-x"> |
| 5 |
<div class="intext_select_automation cell"> |
| 6 |
<label class="cell acym_vcenter"> |
| 7 |
<?php echo esc_html(acym_translation('ACYM_ACTION_ON_GROUPS_FROM')); ?> |
| 8 |
</label> |
| 9 |
<?php |
| 10 |
acym_select( |
| 11 |
$groups, |
| 12 |
'acym_action[actions][__and__][acy_group_action][remove]', |
| 13 |
'none', |
| 14 |
['class' => 'acym__select'], |
| 15 |
'value', |
| 16 |
'text', |
| 17 |
null, |
| 18 |
false, |
| 19 |
true |
| 20 |
); |
| 21 |
?> |
| 22 |
</div> |
| 23 |
<div class="intext_select_automation cell"> |
| 24 |
<label class="cell shrink margin-left-1 margin-right-1"> |
| 25 |
<?php echo esc_html(acym_translation('ACYM_ACTION_ON_GROUPS_TO')); ?> |
| 26 |
</label> |
| 27 |
<?php |
| 28 |
acym_select( |
| 29 |
$groups, |
| 30 |
'acym_action[actions][__and__][acy_group_action][add]', |
| 31 |
'none', |
| 32 |
[ |
| 33 |
'class' => 'acym__select', |
| 34 |
'data-toggle-select' => ['none' => '#warning_delete_group'], |
| 35 |
], |
| 36 |
'value', |
| 37 |
'text', |
| 38 |
null, |
| 39 |
false, |
| 40 |
true |
| 41 |
); |
| 42 |
?> |
| 43 |
</div> |
| 44 |
<div id="warning_delete_group" class="cell"> |
| 45 |
<label class="cell shrink acym__color__red"> |
| 46 |
<?php echo esc_html(acym_translation('ACYM_ACTION_ON_GROUPS_FROM_WARNING')); ?> |
| 47 |
</label> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
|