| @@ -1,30 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | -// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals. | |
| 3 | -defined('ABSPATH') || die('Restricted Access'); | |
| 4 | -?> | |
| 5 | -<div class="cell grid-x acym__content" id="acym__forms__menu"> | |
| 6 | - <div class="cell grid-x acym__forms__menu__switch__container"> | |
| 7 | - <div class="cell small-6 acym__forms__menu__switch acym_vcenter align-center" | |
| 8 | - @click="changeMenuActive('settings')" | |
| 9 | - :class="{'acym__forms__menu__switch__active': isMenuSettingsActive}"><i class="acymicon-cog"></i></div> | |
| 10 | - <div class="cell small-6 acym__forms__menu__switch acym_vcenter align-center" | |
| 11 | - @click="changeMenuActive('style')" | |
| 12 | - :class="{'acym__forms__menu__switch__active': !isMenuSettingsActive}"><i class="acymicon-edit"></i></div> | |
| 13 | - </div> | |
| 14 | - <div class="cell grid-x acym__forms__menu__container" v-show="isMenuSettingsActive"> | |
| 15 | - <?php foreach ($data['menu_render_settings'] as $options) { ?> | |
| 16 | - <h3 class="cell acym__forms__menu__title acym__title acym__title__tertiary"><?php echo esc_html($options['title']); ?></h3> | |
| 17 | - <?php foreach ($options['render'] as $html) { ?> | |
| 18 | - <div class="cell grid-x acym__forms__menu__options grid-margin-x acym_vcenter"><?php echo $html; ?></div> | |
| 19 | - <?php } ?> | |
| 20 | - <?php } ?> | |
| 21 | - </div> | |
| 22 | - <div class="cell grid-x acym__forms__menu__container" v-show="!isMenuSettingsActive"> | |
| 23 | - <?php foreach ($data['menu_render_style'] as $options) { ?> | |
| 24 | - <h3 class="cell acym__forms__menu__title acym__title acym__title__tertiary"><?php echo esc_html($options['title']); ?></h3> | |
| 25 | - <?php foreach ($options['render'] as $html) { ?> | |
| 26 | - <div class="cell grid-x acym__forms__menu__options grid-margin-x acym_vcenter"><?php echo $html; ?></div> | |
| 27 | - <?php } ?> | |
| 28 | - <?php } ?> | |
| 29 | - </div> | |
| 30 | -</div> | |