| @@ -1,0 +1,51 @@ | ||
| 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" | |
| 6 | + action="<?php echo esc_url( | |
| 7 | + acym_completeLink(acym_getVar('cmd', 'ctrl').'&task='.acym_getVar('string', 'task').'&campaignId='.acym_getVar('string', 'campaignId')) | |
| 8 | + ); ?>" | |
| 9 | + method="post" | |
| 10 | + name="acyForm" | |
| 11 | + class="acym__form__campaign__edit"> | |
| 12 | + <input type="hidden" | |
| 13 | + value="<?php echo !empty($data['campaign']->id) ? esc_attr($data['campaign']->id) : ''; ?>" | |
| 14 | + name="campaignId" | |
| 15 | + id="acym__campaign__recipients__form__campaign"> | |
| 16 | + <div id="acym__campaigns__segment" class="grid-x"> | |
| 17 | + <div class="cell <?php echo esc_attr($data['containerClass']); ?> float-center grid-x acym__content"> | |
| 18 | + <?php | |
| 19 | + $this->addSegmentStep($data['displaySegmentTab']); | |
| 20 | + $workflow = $data['workflowHelper']; | |
| 21 | + $workflow->display($this->steps, $this->step, true, false, '', 'campaignId'); | |
| 22 | + | |
| 23 | + if (!acym_level(ACYM_ENTERPRISE)) { | |
| 24 | + include acym_getView('campaigns', 'segment_splashscreen'); | |
| 25 | + } | |
| 26 | + ?> | |
| 27 | + <div class="cell grid-x text-center acym__campaign__recipients__save-button cell"> | |
| 28 | + <div class="cell medium-shrink medium-margin-bottom-0 margin-bottom-1 text-left"> | |
| 29 | + <?php acym_backToListing(); ?> | |
| 30 | + </div> | |
| 31 | + <div class="cell medium-auto grid-x text-right"> | |
| 32 | + <div class="cell medium-auto"></div> | |
| 33 | + <button data-task="save" | |
| 34 | + data-step="listing" | |
| 35 | + type="submit" | |
| 36 | + class="cell button-secondary medium-shrink button medium-margin-bottom-0 margin-next-1 acy_button_submit"> | |
| 37 | + <?php echo esc_html(acym_translation('ACYM_SAVE_EXIT')); ?> | |
| 38 | + </button> | |
| 39 | + <button data-task="save" | |
| 40 | + data-step="sendSettings" | |
| 41 | + type="submit" | |
| 42 | + class="cell medium-shrink button margin-bottom-0 acy_button_submit" | |
| 43 | + id="acym__campaign__recipients__save-continue"> | |
| 44 | + <?php echo esc_html(acym_translation('ACYM_SAVE_CONTINUE')); ?><i class="acymicon-chevron-right"></i> | |
| 45 | + </button> | |
| 46 | + </div> | |
| 47 | + </div> | |
| 48 | + </div> | |
| 49 | + </div> | |
| 50 | + <?php acym_formOptions(true, 'edit', 'segment'); ?> | |
| 51 | +</form> | |