<?php
// Copyright 1999-2017. Plesk International GmbH. All Rights Reserved.

$this->passVariablesToJavaScript([
    'URL_MIGRATE_SUBSCRIPTIONS' => $this->urlMigrateSubscriptions,
    'URL_RUN_PRE_MIGRATION_CHECKS' => $this->urlRunPreMigrationChecks,
    'MESSAGE_POPUP_MIGRATE_TITLE_MIGRATE_MULTIPLE' => $this->lmsg('popupMigrateTitleMigrateMultiple'),
    'MESSAGE_POPUP_MIGRATE_TITLE_MIGRATE_SINGLE' => $this->lmsg('popupMigrateTitleMigrateSingle'),
    'MESSAGE_POPUP_MIGRATE_CONTENT' => $this->lmsg('popupMigrateContent'),
    'MESSAGE_POPUP_MIGRATE_COPY_FILES' => $this->lmsg('popupMigrateCopyFiles'),
    'MESSAGE_POPUP_MIGRATE_COPY_DATABASES' => $this->lmsg('popupMigrateCopyDatabases'),
    'MESSAGE_POPUP_MIGRATE_COPY_MAIL' => $this->lmsg('popupMigrateCopyMail'),
    'MESSAGE_POPUP_MIGRATE_COPY_ID' => $this->lmsg('popupMigrateCopyExternalId'),
    'MESSAGE_POPUP_MIGRATE_BUTTON_OK' => $this->lmsg('popupMigrateButtonOk'),
    'MESSAGE_POPUP_MIGRATE_BUTTON_CANCEL' => $this->lmsg('popupMigrateButtonCancel')
]);
$this->includeMigratorJavaScript('locale.js');
$this->addJavaScriptLocaleKeys([
    'schedulingButtonTitle',
    'popupMigrateContentHint',
    'popupMigratePreChecks'
]);
?>
<?php $this->includeMigratorJavaScript('popup/migrate.js'); ?>