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

$this->passVariablesToJavaScript([
    'URL_REASSIGN_OWNER_SUBSCRIPTIONS' => $this->urlReassignOwnerSubscriptions,
    'MESSAGE_POPUP_REASSIGN_OWNER_TITLE_MULTIPLE' => $this->lmsg('popupReassignOwnerTitleMigrateMultiple'),
    'MESSAGE_POPUP_REASSIGN_OWNER_TITLE_MIGRATE_SINGLE' => $this->lmsg('popupReassignOwnerTitleMigrateSingle'),
    'MESSAGE_POPUP_REASSIGN_OWNER_NAME' => $this->lmsg('popupReassignOwnerName'),
    'MESSAGE_POPUP_REASSIGN_OWNER_BUTTON_OK' => $this->lmsg('popupReassignOwnerButtonOk'),
    'MESSAGE_POPUP_REASSIGN_OWNER_BUTTON_CANCEL' => $this->lmsg('popupReassignOwnerButtonCancel'),
    'REASSIGN_OWNER_DATA' => $this->reassignControlData,
    'REASSIGN_OWNER_LOCALE' => array_merge(
        Zend_Registry::get('translate')->getSection('components.elements.lookup'),
        [
            'label' => $this->lmsg('popupReassignOwnerName'),
        ]
    )
]);
$this->includeMigratorJavaScript('locale.js');
$this->addJavaScriptLocaleKeys([
    'changingButtonTitle',
]);
$this->includeMigratorCss('popup/popup.css');
?>
<?php $this->includeMigratorJavaScript('popup/reassign-owner.js'); ?>