| @@ -1,10 +1,13 @@ | ||
| 1 | +<?php | |
| 2 | +defined('ABSPATH') || die('Restricted Access'); | |
| 3 | +?> | |
| 1 | 4 | <div class="cell grid-x acym__content" id="acym__forms__preview"> |
| 2 | 5 | <div class="cell acym_vcenter" id="acym__forms__preview__bar"> |
| 3 | 6 | <span class="acym__forms__preview__bar__button acym__forms__preview__button-red"></span> |
| 4 | 7 | <span class="acym__forms__preview__bar__button acym__forms__preview__button-orange"></span> |
| 5 | 8 | <span class="acym__forms__preview__bar__button acym__forms__preview__button-green"></span> |
| 6 | - <span class="acym__forms__preview__bar__search"><?php echo ACYM_LIVE; ?></span> | |
| 9 | + <span class="acym__forms__preview__bar__search"><?php echo esc_html(ACYM_LIVE); ?></span> | |
| 7 | 10 | </div> |
| 8 | - <iframe src="<?php echo ACYM_LIVE.'?acym_preview=1'; ?>" id="acym__forms__preview__content" class="cell"></iframe> | |
| 9 | - <div id="acym__forms__preview__content__loader" class="grid-x cell align-center acym_vcenter" v-if="loading"><?php echo acym_loaderLogo(); ?>'</div> | |
| 11 | + <iframe src="<?php echo esc_url(ACYM_LIVE).'?acym_preview=1'; ?>" id="acym__forms__preview__content" class="cell"></iframe> | |
| 12 | + <div id="acym__forms__preview__content__loader" class="grid-x cell align-center acym_vcenter" v-if="loading"><?php acym_loaderLogo(); ?></div> | |
| 10 | 13 | </div> |