| @@ -1,63 +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 | -<form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm"> | |
| 6 | - <div class="acym__content acym__content__tab" id="acym_stats"> | |
| 7 | - <div class="cell grid-x acym_vcenter" id="acym_stats__select"> | |
| 8 | - <div class="cell grid-x acym_vcenter"> | |
| 9 | - <div class="cell auto"></div> | |
| 10 | - <h2 class="cell shrink text-right margin-next-1 acym_stats__title__choose"><?php echo esc_html(acym_translation('ACYM_SELECT_AN_EMAIL')); ?></h2> | |
| 11 | - <div class="cell large-4 medium-6"> | |
| 12 | - <?php | |
| 13 | - if (!empty($data['mail_filter_options'])) { | |
| 14 | - acym_selectMultiple( | |
| 15 | - [], | |
| 16 | - 'mail_ids', | |
| 17 | - [], | |
| 18 | - $data['mail_filter_options'], | |
| 19 | - 'value', | |
| 20 | - 'text', | |
| 21 | - true | |
| 22 | - ); | |
| 23 | - } | |
| 24 | - ?> | |
| 25 | - </div> | |
| 26 | - <button class="cell margin-1 shrink acy_button_submit button" data-task="listing"><?php echo esc_html(acym_translation('ACYM_VALIDATE')); ?></button> | |
| 27 | - <div class="cell auto"></div> | |
| 28 | - </div> | |
| 29 | - <?php if (!empty($data['emailVersionsFilters']) && (!empty($data['emailVersions']) || !empty($data['emailTranslations']))) { ?> | |
| 30 | - <div class="cell grid-x margin-top-1 acym_vcenter acym__stats__select__language__container"> | |
| 31 | - <h2 class="cell medium-5 text-right acym_stats__title__choose-smaller"><?php echo esc_html(acym_translation('ACYM_SPECIFY_VERSION')); ?></h2> | |
| 32 | - <div class="cell large-2 medium-4 margin-left-1"> | |
| 33 | - <?php | |
| 34 | - acym_select( | |
| 35 | - $data['emailVersionsFilters']['options'], | |
| 36 | - 'mail_id_version', | |
| 37 | - $data['emailVersionsFilters']['mailId'], | |
| 38 | - [ | |
| 39 | - 'class' => 'acym__select acym__stats__select__language', | |
| 40 | - ], | |
| 41 | - 'value', | |
| 42 | - 'text', | |
| 43 | - null, | |
| 44 | - false, | |
| 45 | - true | |
| 46 | - ); | |
| 47 | - ?> | |
| 48 | - </div> | |
| 49 | - </div> | |
| 50 | - <?php } ?> | |
| 51 | - </div> | |
| 52 | - <?php | |
| 53 | - $workflow = $data['workflowHelper']; | |
| 54 | - $this->isMailSelected($data['selectedMailid'], empty($data['no_click_map'])); | |
| 55 | - $workflow->displayTabs($this->tabs, 'globalStats'); | |
| 56 | - ?> | |
| 57 | - <div id="acym_stats_global"> | |
| 58 | - <?php | |
| 59 | - include acym_getView('stats', 'global_stats_data', true); ?> | |
| 60 | - </div> | |
| 61 | - </div> | |
| 62 | - <?php acym_formOptions(); ?> | |
| 63 | -</form> | |