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

$this->passVariablesToJavaScript([
    'URL_REASSIGN_PLAN_SUBSCRIPTIONS' => $this->urlReassignPlanSubscriptions,
    'URL_GET_REASSIGN_PLAN_CONTROL_DATA' => $this->urlGetReassignPlanControlData,
    'MESSAGE_POPUP_REASSIGN_PLAN_TITLE_MULTIPLE' => $this->lmsg('popupReassignPlanTitleMigrateMultiple'),
    'MESSAGE_POPUP_REASSIGN_PLAN_TITLE_MIGRATE_SINGLE' => $this->lmsg('popupReassignPlanTitleMigrateSingle'),
    'MESSAGE_POPUP_REASSIGN_PLAN_NEW_PLAN' => $this->lmsg('popupReassignPlanNewPlan'),
    'MESSAGE_POPUP_REASSIGN_PLAN_BUTTON_OK' => $this->lmsg('popupReassignPlanButtonOk'),
    'MESSAGE_POPUP_REASSIGN_PLAN_BUTTON_CANCEL' => $this->lmsg('popupReassignPlanButtonCancel'),
    'REASSIGN_PLAN_LOCALE' => array_merge(
        Zend_Registry::get('translate')->getSection('components.elements.lookup'),
        [
            'label' => $this->lmsg('popupReassignPlanNewPlan'),
        ]
    )
]);
$this->includeMigratorJavaScript('locale.js');
$this->addJavaScriptLocaleKeys([
    'changingButtonTitle',
]);
$this->includeMigratorCss('popup/popup.css');
?>
<?php $this->includeMigratorJavaScript('popup/reassign-plan.js'); ?>