| @@ -1,23 +1,28 @@ | ||
| 1 | -<div class="cell grid-x acym__modal__users__summary" acym-data-query="<?php echo acym_escape(json_encode($dataModal)); ?>"> | |
| 2 | - <h2 class="cell shrink acym__title"><?php echo acym_translation('ACYM_SELECTED_SUBSCRIBER'); ?></h2> | |
| 1 | +<?php | |
| 2 | +defined('ABSPATH') || die('Restricted Access'); | |
| 3 | +?> | |
| 4 | +<div class="cell grid-x acym__modal__users__summary" acym-data-query="<?php echo esc_attr(json_encode($dataModal)); ?>"> | |
| 5 | + <h2 class="cell shrink acym__title"><?php echo esc_html(acym_translation('ACYM_SELECTED_SUBSCRIBER')); ?></h2> | |
| 3 | 6 | <div class="cell grid-x acym__modal__users__summary__actions margin-top-1 margin-bottom-1"> |
| 4 | - <input type="text" class="cell" placeholder="<?php echo acym_translation('ACYM_SEARCH'); ?>" v-model="search"> | |
| 7 | + <input type="text" class="cell" placeholder="<?php echo esc_attr(acym_translation('ACYM_SEARCH')); ?>" v-model="search"> | |
| 5 | 8 | </div> |
| 6 | 9 | <div class="cell grid-x acym__listing"> |
| 7 | 10 | <div class="grid-x cell acym__listing__header hide-for-small-only"> |
| 8 | - <div class="cell acym__listing__header__title medium-6"><?php echo acym_translation('ACYM_EMAIL'); ?></div> | |
| 9 | - <div class="cell acym__listing__header__title medium-4"><?php echo acym_translation('ACYM_NAME'); ?></div> | |
| 10 | - <div class="cell large-1 acym__listing__header__title medium-2"><?php echo acym_translation('ACYM_ID'); ?></div> | |
| 11 | + <div class="cell acym__listing__header__title medium-6"><?php echo esc_html(acym_translation('ACYM_EMAIL')); ?></div> | |
| 12 | + <div class="cell acym__listing__header__title medium-4"><?php echo esc_html(acym_translation('ACYM_NAME')); ?></div> | |
| 13 | + <div class="cell large-1 acym__listing__header__title medium-2"><?php echo esc_html(acym_translation('ACYM_ID')); ?></div> | |
| 11 | 14 | </div> |
| 12 | 15 | <h4 class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="listingError">{{ errorMessage }}</h4> |
| 13 | - <div class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="listingLoading"><?php echo acym_loaderLogo(); ?></div> | |
| 14 | - <div class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="emptyListing"><?php echo acym_translation('ACYM_NO_SUBSCRIBERS_FOUND'); ?></div> | |
| 16 | + <div class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="listingLoading"><?php acym_loaderLogo(); ?></div> | |
| 17 | + <div class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="emptyListing"><?php echo esc_html( | |
| 18 | + acym_translation('ACYM_NO_SUBSCRIBERS_FOUND') | |
| 19 | + ); ?></div> | |
| 15 | 20 | <div v-show="displayListing" |
| 16 | - class="grid-x cell acym__list__settings__users__listing" | |
| 17 | - v-infinite-scroll="loadMoreUsers" | |
| 18 | - :infinite-scroll-disabled="busy" | |
| 19 | - infinite-scroll-immediate-check="false"> | |
| 21 | + class="grid-x cell acym__list__settings__users__listing" | |
| 22 | + v-infinite-scroll="loadMoreUsers" | |
| 23 | + :infinite-scroll-disabled="busy" | |
| 24 | + infinite-scroll-immediate-check="false"> | |
| 20 | 25 | <div class="grid-x cell align-middle acym__listing__row" v-for="(user, index) in users"> |
| 21 | 26 | <div class="cell small-6 acym__listing__title acym_word-break"> |
| 22 | 27 | <h6>{{ user.email }}</h6> |
| 23 | 28 | </div> |