| 1 |
<div id="acym__campaign__edit_email" <?php echo !empty($data['menuClass']) ? 'class="'.acym_escape($data['menuClass']).'"' : ''; ?> > |
| 2 |
<input type="hidden" value="<?php echo acym_escape($data['campaignID']); ?>" name="campaignId" id="acym__campaign__recipients__form__campaign"> |
| 3 |
<input type="hidden" id="acym__mail__edit__editor__social__icons" value="<?php echo empty($data['social_icons']) ? '{}' : acym_escape($data['social_icons']); ?>"> |
| 4 |
|
| 5 |
<!-- Needed for the "Save as template" action --> |
| 6 |
<input type="hidden" class="acym__wysid__hidden__save__thumbnail" id="editor_thumbnail" name="editor_thumbnail" value="" /> |
| 7 |
|
| 8 |
<?php echo $data['needDisplayStylesheet']; ?> |
| 9 |
<input type="hidden" name="editor_headers" value="<?php echo acym_escape($data['mailInformation']->headers); ?>"> |
| 10 |
<input type="hidden" name="from_email" value="<?php echo acym_escape($data['mailInformation']->from_email); ?>"> |
| 11 |
<input type="hidden" name="from_name" value="<?php echo acym_escape($data['mailInformation']->from_name); ?>"> |
| 12 |
<input type="hidden" name="reply_to_email" value="<?php echo acym_escape($data['mailInformation']->reply_to_email); ?>"> |
| 13 |
<input type="hidden" name="reply_to_name" value="<?php echo acym_escape($data['mailInformation']->reply_to_name); ?>"> |
| 14 |
<div class="grid-x"> |
| 15 |
<div class="cell medium-auto"></div> |
| 16 |
<div class="cell <?php echo $data['containerClass']; ?> grid-x grid-margin-x acym__content acym__editor__area margin-y margin-bottom-1"> |
| 17 |
<?php |
| 18 |
$this->addSegmentStep($data['displaySegmentTab']); |
| 19 |
$workflow = $data['workflowHelper']; |
| 20 |
if (empty($data['campaignID'])) { |
| 21 |
$workflow->disabledAfter = 'editEmail'; |
| 22 |
} |
| 23 |
$abTestParameter = '&abtest='.acym_getVar('string', 'abtest', 0); |
| 24 |
echo $workflow->display($this->steps, $this->step, true, false, $abTestParameter, 'campaignId'); |
| 25 |
include acym_getView('campaigns', 'edit_email_info'); |
| 26 |
include acym_getPartial('editor', 'attachments'); |
| 27 |
include acym_getView('campaigns', 'edit_email_actions', true); |
| 28 |
?> |
| 29 |
</div> |
| 30 |
<div class="cell medium-auto"></div> |
| 31 |
</div> |
| 32 |
<input type="hidden" name="campaign_type" value="<?php echo $data['campaign_type']; ?>"> |
| 33 |
<?php acym_formOptions(true, 'edit', 'editEmail'); ?> |
| 34 |
</div> |
| 35 |
<?php |
| 36 |
echo $data['editor']->display(); |
| 37 |
|