| @@ -1,0 +1,56 @@ | ||
| 1 | +<?php | |
| 2 | +defined('ABSPATH') || die('Restricted Access'); | |
| 3 | +?> | |
| 4 | +<div id="acym__users__import__cms_users" class="grid-x padding-vertical-2 padding-horizontal-2"> | |
| 5 | + <div class="cell large-2"></div> | |
| 6 | + <div class="cell large-8"> | |
| 7 | + <div class="text-center"> | |
| 8 | + <h6><?php echo wp_kses(acym_translationSprintf('ACYM_IMPORT_NB_WEBSITE_USERS', $data['nbUsersCMS']), ['b' => []]); ?></h6> | |
| 9 | + <h6><?php echo wp_kses(acym_translationSprintf('ACYM_IMPORT_NB_ACYM_USERS', $data['nbUsersAcymailing']), ['b' => []]); ?></h6> | |
| 10 | + </div> | |
| 11 | + <br> | |
| 12 | + <div class="text-left"> | |
| 13 | + <?php echo esc_html(acym_translation('ACYM_IMPORT_CMS_1')); ?> | |
| 14 | + <ol> | |
| 15 | + <li><?php echo wp_kses(acym_translationSprintf('ACYM_IMPORT_CMS_2', ACYM_CMS_TITLE), ['b' => []]); ?></li> | |
| 16 | + <li><?php echo wp_kses(acym_translationSprintf('ACYM_IMPORT_CMS_3', ACYM_CMS_TITLE), ['b' => []]); ?></li> | |
| 17 | + <li><?php echo wp_kses(acym_translationSprintf('ACYM_IMPORT_CMS_4', ACYM_CMS_TITLE), ['b' => []]); ?></li> | |
| 18 | + <li><?php echo wp_kses(acym_translationSprintf('ACYM_IMPORT_CMS_5', ACYM_CMS_TITLE), ['b' => []]); ?></li> | |
| 19 | + </ol> | |
| 20 | + </div> | |
| 21 | + | |
| 22 | + <div class="margin-top-1 grid-x"> | |
| 23 | + <div class="cell medium-5 acym_vcenter"> | |
| 24 | + <?php echo esc_html(acym_translation('ACYM_IMPORT_CMS_GROUPS')); | |
| 25 | + acym_info(['textShownInTooltip' => 'ACYM_IMPORT_CMS_GROUPS_DESC']); ?> | |
| 26 | + </div> | |
| 27 | + <div class="cell medium-7"> | |
| 28 | + <?php | |
| 29 | + acym_selectMultiple( | |
| 30 | + acym_getGroups(), | |
| 31 | + 'groups', | |
| 32 | + explode(',', $this->config->get('import_groups', '')), | |
| 33 | + [ | |
| 34 | + 'class' => 'acym__select', | |
| 35 | + ], | |
| 36 | + 'value', | |
| 37 | + 'text', | |
| 38 | + true | |
| 39 | + ); | |
| 40 | + ?> | |
| 41 | + </div> | |
| 42 | + </div> | |
| 43 | + | |
| 44 | + <div class="cell grid-x grid-margin-x margin-top-2"> | |
| 45 | + <div class="cell hide-for-small-only medium-auto"></div> | |
| 46 | + <?php acym_cancelButton('ACYM_CANCEL', '', 'button medium-6 large-shrink margin-bottom-0'); ?> | |
| 47 | + <button data-open="acym__user__import__add-subscription__modal" type="button" class="button cell medium-shrink margin-bottom-0"> | |
| 48 | + <?php echo esc_html(acym_translation('ACYM_IMPORT')); ?> | |
| 49 | + </button> | |
| 50 | + <button id="submit_import_cms" class="acym__import__submit is-hidden" data-from="cms"></button> | |
| 51 | + <div class="cell hide-for-small-only medium-auto"></div> | |
| 52 | + </div> | |
| 53 | + </div> | |
| 54 | + <div class="cell large-2"></div> | |
| 55 | + <input type="hidden" name="new_list" id="acym__import__new-list" value="" /> | |
| 56 | +</div> | |