| 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(acym_completeLink(acym_getVar('cmd', 'ctrl').'&task='.acym_getVar('string', 'task').'&campaignId='.acym_getVar('string', 'id'))); ?>" |
| 7 |
method="post" |
| 8 |
name="acyForm" |
| 9 |
class="acym__form__campaign__edit"> |
| 10 |
<input type="hidden" name="campaignId" value="<?php echo esc_attr($data['id']); ?>"> |
| 11 |
<div class="cell grid-x"> |
| 12 |
<div class="cell medium-auto"></div> |
| 13 |
<div id="acym__campaigns__tests" class="cell xxlarge-9 grid-x acym__content"> |
| 14 |
<?php |
| 15 |
$this->addSegmentStep($data['displaySegmentTab']); |
| 16 |
$workflow = $data['workflowHelper']; |
| 17 |
$workflow->display($this->steps, $this->step, true, false, '', 'campaignId'); |
| 18 |
?> |
| 19 |
<div class="cell grid-x grid-margin-x" id="campaigns_tests_step"> |
| 20 |
<div class="cell large-5"> |
| 21 |
<?php |
| 22 |
include acym_getView('campaigns', 'tests_email_checker'); |
| 23 |
include acym_getView('campaigns', 'tests_mailtester'); |
| 24 |
?> |
| 25 |
</div> |
| 26 |
<div class="cell large-1 margin-top-2 acym_zone_separator"></div> |
| 27 |
<?php include acym_getView('campaigns', 'tests_send'); ?> |
| 28 |
</div> |
| 29 |
<?php include acym_getView('campaigns', 'tests_actions'); ?> |
| 30 |
</div> |
| 31 |
<div class="medium-auto cell"></div> |
| 32 |
</div> |
| 33 |
<?php acym_formOptions(true, 'edit', 'tests'); ?> |
| 34 |
</form> |
| 35 |
|