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