| @@ -1,174 +1,0 @@ | ||
| 1 | -<input type="hidden" id="default_template" value="<?php echo acym_escape($this->defaultTemplate); ?>" /> | |
| 2 | -<input type="hidden" class="acym__wysid__hidden__save__content" id="editor_content" name="editor_content" value="" /> | |
| 3 | -<input type="hidden" class="acym__wysid__hidden__save__content__template" id="editor_content_template" name="editor_content_template" value="" /> | |
| 4 | -<?php $wysidStylesheet = $this->getWYSIDStylesheet(); ?> | |
| 5 | -<input type="hidden" | |
| 6 | - class="acym__wysid__hidden__save__stylesheet" | |
| 7 | - id="editor_stylesheet" | |
| 8 | - name="editor_stylesheet" | |
| 9 | - value="<?php echo acym_escape($wysidStylesheet); ?>" /> | |
| 10 | -<input type="hidden" | |
| 11 | - class="acym__wysid__hidden__save__stylesheet__template" | |
| 12 | - id="editor_stylesheet_template" | |
| 13 | - name="editor_stylesheet_template" | |
| 14 | - value="<?php echo acym_escape($wysidStylesheet); ?>" /> | |
| 15 | -<?php $wysidSettings = $this->getWYSIDSettings(); | |
| 16 | -$mainColors = $this->getDefaultColors(); ?> | |
| 17 | -<input type="hidden" class="acym__wysid__hidden__save__settings" id="editor_settings" name="editor_settings" value="<?php echo acym_escape($wysidSettings); ?>" /> | |
| 18 | -<input type="hidden" | |
| 19 | - class="acym__wysid__hidden__save__settings__template" | |
| 20 | - id="editor_settings_template" | |
| 21 | - name="editor_settings_template" | |
| 22 | - value="<?php echo acym_escape($wysidSettings); ?>" /> | |
| 23 | -<input type="hidden" class="acym__wysid__hidden__save__colors" id="main_colors" name="main_colors" value="<?php echo acym_escape($mainColors); ?>" /> | |
| 24 | -<input type="hidden" class="acym__wysid__hidden__save__colors__template" id="main_colors_template" name="main_colors_template" value="<?php echo acym_escape($mainColors); ?>" /> | |
| 25 | -<input type="hidden" id="acym__wysid__session--lifetime" name="acym_session_lifetime" value="<?php echo acym_escape(ini_get('session.gc_maxlifetime')); ?>" /> | |
| 26 | -<input type="hidden" class="acym__wysid__hidden__mailId" id="editor_mailid" name="editor_autoSave" value="<?php echo intval($this->mailId); ?>" /> | |
| 27 | -<input type="hidden" class="acym__wysid__hidden__save__auto" id="editor_autoSave" value="<?php echo acym_escape($this->autoSave); ?>"> | |
| 28 | -<input type="hidden" id="acym__template__preview"> | |
| 29 | -<input type="hidden" id="acym__wysid__block__html__content"> | |
| 30 | - | |
| 31 | -<div id="acym__wysid__edit" class="cell grid-x margin-top-1"> | |
| 32 | - <div class="cell medium-auto"></div> | |
| 33 | - <div class="cell <?php echo acym_isAdmin() ? 'xxlarge-9' : ''; ?> grid-x grid-margin-x acym__content"> | |
| 34 | - <?php | |
| 35 | - if (!empty($data['multilingual']) || !empty($data['abtest'])) { | |
| 36 | - include acym_getPartial('editor', 'versions'); | |
| 37 | - $preheaderSize = 'large-6'; | |
| 38 | - include acym_getView('campaigns', 'edit_email_info_content', true); | |
| 39 | - } | |
| 40 | - ?> | |
| 41 | - | |
| 42 | - <div class="cell grid-x align-center padding-1 padding-bottom-0"> | |
| 43 | - <div class="cell medium-auto hide-for-small-only"></div> | |
| 44 | - <button id="acym__wysid__edit__button" type="button" class="cell button xlarge-3 large-4 medium-5 margin-bottom-0"> | |
| 45 | - <i class="acymicon-edit"></i> | |
| 46 | - <?php | |
| 47 | - $ctrl = acym_getVar('string', 'ctrl'); | |
| 48 | - if (in_array(acym_getVar('string', 'ctrl'), ['campaigns', 'frontcampaigns']) || !empty(acym_getVar('cmd', 'notification'))) { | |
| 49 | - echo acym_translation('ACYM_EDIT_MAIL'); | |
| 50 | - } elseif ($this->walkThrough || !empty(acym_getVar('cmd', 'return'))) { | |
| 51 | - echo acym_translation('ACYM_EDIT'); | |
| 52 | - } else { | |
| 53 | - echo acym_translation('ACYM_EDIT_TEMPLATE'); | |
| 54 | - } | |
| 55 | - ?> | |
| 56 | - </button> | |
| 57 | - <div class="cell medium-auto hide-for-small-only"></div> | |
| 58 | - </div> | |
| 59 | - | |
| 60 | - <div class="cell grid-x" id="acym__wysid__edit__preview"> | |
| 61 | - <?php | |
| 62 | - if (!empty($data['multilingual'])) { | |
| 63 | - echo acym_tooltip( | |
| 64 | - [ | |
| 65 | - 'hoveredText' => '<div id="acym__wysid__edit__preview__reset__content"><i class="acymicon-rotate-left"></i></div>', | |
| 66 | - 'textShownInTooltip' => acym_translation('ACYM_REMOVE_TRANSLATION_DESC'), | |
| 67 | - 'classContainer' => 'acym__wysid__edit__preview__reset is-hidden', | |
| 68 | - ] | |
| 69 | - ); | |
| 70 | - } | |
| 71 | - ?> | |
| 72 | - <div class="cell medium-auto hide-for-small-only"></div> | |
| 73 | - <?php | |
| 74 | - $classes = ''; | |
| 75 | - if (acym_isAdmin()) { | |
| 76 | - if (!$this->walkThrough) { | |
| 77 | - $classes = 'large-10 xxlarge-9'; | |
| 78 | - } | |
| 79 | - } | |
| 80 | - ?> | |
| 81 | - <div id="acym__wysid__email__preview" class="acym__email__preview grid-x cell <?php echo $classes; ?> margin-top-1"></div> | |
| 82 | - <div class="cell medium-auto hide-for-small-only"></div> | |
| 83 | - </div> | |
| 84 | - </div> | |
| 85 | - <div class="cell medium-auto"></div> | |
| 86 | -</div> | |
| 87 | - | |
| 88 | -<div class="grid-x grid-margin-x"> | |
| 89 | - <div id="acym__wysid" class="grid-x margin-0 grid-margin-x cell" style="display: none;"> | |
| 90 | - <!--Template & top toolbar--> | |
| 91 | - <div id="acym__wysid__wrap" class="grid-y auto cell grid-padding-x grid-padding-y"> | |
| 92 | - <!--Warning area when generating thumbnail--> | |
| 93 | - <div id="acym__wysid__warning__thumbnail" class="grid-x align-center" style="display: none;"> | |
| 94 | - <div class="cell align-center acym_vcenter"> | |
| 95 | - <h3><?php echo acym_translation('ACYM_SAVING_EMAIL'); ?></h3> | |
| 96 | - </div> | |
| 97 | - <?php echo acym_loaderLogo(); ?> | |
| 98 | - </div> | |
| 99 | - <!--Top toolbar--> | |
| 100 | - <?php | |
| 101 | - include acym_getPartial('editor', 'top_toolbar'); | |
| 102 | - include acym_getPartial('editor', 'source'); | |
| 103 | - include acym_getPartial('editor', 'template'); | |
| 104 | - ?> | |
| 105 | - </div> | |
| 106 | - | |
| 107 | - <div class="grid-y large-4 small-3 cell" id="acym__wysid__right"> | |
| 108 | - <!--Send test--> | |
| 109 | - <?php | |
| 110 | - include acym_getPartial('editor', 'test'); | |
| 111 | - ?> | |
| 112 | - | |
| 113 | - <!--Right toolbar--> | |
| 114 | - <div id="acym__wysid__right-toolbar" class="grid-y cell"> | |
| 115 | - <div id="acym__wysid__right-toolbar__overlay"></div> | |
| 116 | - <div class="acym__wysid__right-toolbar__content grid-y grid-padding-x small-12 cell" style="max-height: 829px;"> | |
| 117 | - <div class="cell grid-x text-center"> | |
| 118 | - <p data-attr-show="acym__wysid__right__toolbar__design" | |
| 119 | - id="acym__wysid__right__toolbar__design__tab" | |
| 120 | - class="large-4 small-4 cell acym__wysid__right__toolbar__selected acym__wysid__right__toolbar__tabs"> | |
| 121 | - <i class="acymicon-th"></i> | |
| 122 | - </p> | |
| 123 | - <p data-attr-show="acym__wysid__right__toolbar__current-block" | |
| 124 | - id="acym__wysid__right__toolbar__block__tab" | |
| 125 | - class="large-4 small-4 cell acym__wysid__right__toolbar__tabs"> | |
| 126 | - <i class="acymicon-edit"></i> | |
| 127 | - </p> | |
| 128 | - <p data-attr-show="acym__wysid__right__toolbar__settings" | |
| 129 | - id="acym__wysid__right__toolbar__settings__tab" | |
| 130 | - class="large-4 small-4 cell acym__wysid__right__toolbar__tabs"> | |
| 131 | - <i class="acymicon-cog"></i> | |
| 132 | - </p> | |
| 133 | - </div> | |
| 134 | - | |
| 135 | - <?php | |
| 136 | - include acym_getPartial('editor', 'design'); | |
| 137 | - include acym_getPartial('editor', 'settings'); | |
| 138 | - include acym_getPartial('editor', 'context'); | |
| 139 | - ?> | |
| 140 | - </div> | |
| 141 | - </div> | |
| 142 | - </div> | |
| 143 | - | |
| 144 | - <!--Modal--> | |
| 145 | - <div id="acym__wysid__modal" class="acym__wysid__modal"> | |
| 146 | - <div class="acym__wysid__modal__bg acym__wysid__modal--close"></div> | |
| 147 | - <div class="acym__wysid__modal__ui float-center cell"> | |
| 148 | - <div id="acym__wysid__modal__ui__fields"></div> | |
| 149 | - <div id="acym__wysid__modal__ui__display"></div> | |
| 150 | - <div id="acym__wysid__modal__ui__search" class="margin-bottom-1"></div> | |
| 151 | - <button class="close-button acym__wysid__modal--close" aria-label="Dismiss alert" type="button" data-close=""> | |
| 152 | - <span aria-hidden="true">×</span> | |
| 153 | - </button> | |
| 154 | - </div> | |
| 155 | - </div> | |
| 156 | - | |
| 157 | - <?php if ('joomla' === ACYM_CMS) { | |
| 158 | - include acym_getPartial('joomla', 'media_modal'); | |
| 159 | - } ?> | |
| 160 | - </div> | |
| 161 | -</div> | |
| 162 | -<div id="acym__wysid__fullscreen__modal" class="grid-x align-center"> | |
| 163 | - <div class="acym__imac cell medium-8 acym__wysid__fullscreen__modal__content__container" style="display: none"> | |
| 164 | - <div id="acym__wysid__fullscreen__modal__content__desktop" class=acym__imac__screen></div> | |
| 165 | - <div class="acym__imac__stand"></div> | |
| 166 | - </div> | |
| 167 | - <div class="cell medium-4 acym__iphone acym__wysid__fullscreen__modal__content__container" style="display: none"> | |
| 168 | - <div id="acym__wysid__fullscreen__modal__content__smartphone" class="acym__iphone__screen"></div> | |
| 169 | - </div> | |
| 170 | - <div class="grid-x cell small-12"></div> | |
| 171 | - <button id="acym__wysid__fullscreen__modal__close" class="close-button padding-1" aria-label="Dismiss alert" type="button" data-close=""> | |
| 172 | - <span aria-hidden="true">×</span> | |
| 173 | - </button> | |
| 174 | -</div> | |