| 1 |
<form id="acym_form" action="<?php echo acym_completeLink(acym_getVar('cmd', 'ctrl')); ?>" method="post" name="acyForm" class="acym__form__migrate"> |
| 2 |
<div id="acym_migrate" class="cell grid-x"> |
| 3 |
<div class="text-center cell acym__migrate__titles"> |
| 4 |
<h1 class="acym__title text-center"><?php echo acym_translation('ACYM_THANKS_FOR_INSTALLING_ACYM'); ?></h1> |
| 5 |
<h2 class="acym__migrate__subtitle"><?php echo acym_translation('ACYM_DO_YOU_WANT_TO_MIGRATE'); ?></h2> |
| 6 |
</div> |
| 7 |
<div class="cell large-3"></div> |
| 8 |
|
| 9 |
<div class="acym__content acym__content__reduced cell large-6 grid-x"> |
| 10 |
<div class="text-center cell acym__migrate__content__titles"> |
| 11 |
<h1 class="acym__title acym__title__secondary"><?php echo acym_translation('ACYM_WHICH_DATA_TO_MIGRATE'); ?></h1> |
| 12 |
<p class="acym__color__red"><b><?php echo acym_translation('ACYM_MIGRATE_WARNING_DATA_OVERWRITE'); ?></b></p> |
| 13 |
</div> |
| 14 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 15 |
<input type="checkbox" id="acym__migrate__config" name="migrate[config]" class="acym__migrate__option" /> |
| 16 |
<label for="acym__migrate__config"><?php echo acym_translation('ACYM_CONFIGURATION'); ?></label> |
| 17 |
<span id="acym__migrate__result__config__check"></span> |
| 18 |
</div> |
| 19 |
<?php if (acym_level(ACYM_ENTERPRISE)) { ?> |
| 20 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 21 |
<input type="checkbox" id="acym__migrate__bounce" name="migrate[bounce]" class="acym__migrate__option" /> |
| 22 |
<label for="acym__migrate__bounce"><?php echo acym_translation('ACYM_BOUNCE_HANDLING'); ?></label> |
| 23 |
<span id="acym__migrate__result__bounce__check"></span> |
| 24 |
</div> |
| 25 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 26 |
<input type="checkbox" id="acym__migrate__distrib" name="migrate[distrib]" class="acym__migrate__option" /> |
| 27 |
<label for="acym__migrate__distrib"><?php echo acym_translation('ACYM_DISTRIBUTION_LISTS'); ?></label> |
| 28 |
<span id="acym__migrate__result__distrib__check"></span> |
| 29 |
</div> |
| 30 |
<?php } ?> |
| 31 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 32 |
<input type="checkbox" id="acym__migrate__lists" name="migrate[lists]" class="acym__migrate__option" /> |
| 33 |
<label for="acym__migrate__lists"><?php echo acym_translation('ACYM_LISTS'); ?></label> |
| 34 |
<span id="acym__migrate__result__lists__check"></span> |
| 35 |
</div> |
| 36 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 37 |
<input type="checkbox" id="acym__migrate__mails" name="migrate[mails]" class="acym__migrate__option" /> |
| 38 |
<label for="acym__migrate__mails"><?php echo acym_translation('ACYM_NEWSLETTERS'); ?></label> |
| 39 |
<span id="acym__migrate__result__mails__check"></span> |
| 40 |
</div> |
| 41 |
<div class="cell acym__migrate__input__element acym_vcenter margin-left-2" id="acym__migrate__input__global_stats"> |
| 42 |
<input type="checkbox" id="acym__migrate__mailstats" name="migrate[mailStats]" class="acym__migrate__option" /> |
| 43 |
<label for="acym__migrate__mailstats"><?php echo acym_translation('ACYM_GLOBAL_STATS'); ?></label> |
| 44 |
<span id="acym__migrate__result__mailstats__check"></span> |
| 45 |
</div> |
| 46 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 47 |
<input type="checkbox" id="acym__migrate__templates" name="migrate[templates]" class="acym__migrate__option" /> |
| 48 |
<label for="acym__migrate__templates"><?php echo acym_translation('ACYM_TEMPLATES'); ?></label> |
| 49 |
<span id="acym__migrate__result__templates__check"></span> |
| 50 |
</div> |
| 51 |
<?php if (acym_level(ACYM_ENTERPRISE)) { ?> |
| 52 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 53 |
<input type="checkbox" id="acym__migrate__fields" name="migrate[fields]" class="acym__migrate__option" /> |
| 54 |
<label for="acym__migrate__fields"><?php echo acym_translation('ACYM_CUSTOM_FIELDS'); ?></label> |
| 55 |
<span id="acym__migrate__result__fields__check"></span> |
| 56 |
</div> |
| 57 |
<?php } ?> |
| 58 |
<div class="cell acym__migrate__input__element acym_vcenter"> |
| 59 |
<input type="checkbox" id="acym__migrate__users" name="migrate[users]" class="acym__migrate__option" /> |
| 60 |
<label for="acym__migrate__users"><?php echo acym_translation('ACYM_SUBSCRIBERS'); ?></label> |
| 61 |
<span id="acym__migrate__result__users__check"></span> |
| 62 |
</div> |
| 63 |
<div class="cell grid-x text-center align-right grid-margin-x"> |
| 64 |
<button type="button" |
| 65 |
data-task="migrationDone" |
| 66 |
class="button button-secondary acy_button_submit margin-right-1 cell medium-shrink small-12" |
| 67 |
id="acym__migrate__no__button"><?php echo acym_translation('ACYM_NO_DONT_WANT_TO_MIGRATE_MY_DATA'); ?></button> |
| 68 |
<button type="button" class="button primary cell medium-shrink small-12" id="acym__migrate__button"><?php echo acym_translation('ACYM_MIGRATE'); ?></button> |
| 69 |
<h1 class="acym__title acym__title__secondary cell acym__migration__need__display" id="acym__migration__percentage" style="display: none">0%</h1> |
| 70 |
<div class="success progress cell acym__migration__need__display" id="acym__migration__progress__bar" style="display: none"> |
| 71 |
<div class="progress-meter" id="acym__migration__progress__bar__inner" style="width: 0"></div> |
| 72 |
</div> |
| 73 |
<div class="cell grid-x" style="display: none"> |
| 74 |
<h1 class="acym__title acym__title__secondary cell"><?php echo acym_translation('ACYM_DISPLAY_GIF'); ?></h1> |
| 75 |
<img src="" alt="gif to wait" id="acym__migration__gif" class="cell"> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
<div class="cell grid-x text-center" id="acym__migrate__result__ok"> |
| 79 |
<h2 class="cell acym__listing__empty__subtitle"><?php echo acym_translation('ACYM_MIGRATION_DONE'); ?></h2> |
| 80 |
<button type="submit" data-task="migrationDone" class="button acy_button_submit cell medium-shrink margin-auto"> |
| 81 |
<?php echo acym_translation('ACYM_CONTINUE'); ?> |
| 82 |
</button> |
| 83 |
</div> |
| 84 |
<div class="cell acym__color__red grid-x align-center" id="acym__migrate__result__error"> |
| 85 |
<p class="acym__color__red margin-bottom-1" id="acym__migrate__result__error__message"></p> |
| 86 |
<button type="button" id="acym__migrate__restart_from_error__button" class="button cell margin-right-1 medium-shrink"> |
| 87 |
<?php echo acym_translation('ACYM_RESTART_FROM_ERROR'); ?> |
| 88 |
</button> |
| 89 |
<button type="button" data-task="migrationDone" class="button button-secondary cell acy_button_submit medium-shrink"> |
| 90 |
<?php echo acym_translation('ACYM_IGNORE_ERRORS_AND_CONTINUE'); ?> |
| 91 |
</button> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
<div class="cell large-3"></div> |
| 95 |
</div> |
| 96 |
<?php acym_formOptions(true, '', '', 'dashboard'); ?> |
| 97 |
</form> |
| 98 |
|
| 99 |
|