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

$this->passVariablesToJavaScript([
    'URL_CHANGE_IP_SUBSCRIPTIONS' => $this->urlChangeIPSubscriptions,
    'URL_LIST_PLESK_MULTI_SERVER_NODES' => $this->urlListPleskMultiServerNodes,
    'SELECT_NODE_LOCALE' => array_merge(
        Zend_Registry::get('translate')->getSection('components.elements.lookup'),
        [
            'label' => $this->lmsg('popupSelectNodeNode'),
        ]
    )
]);
$this->includeMigratorJavaScript('locale.js');
$this->addJavaScriptLocaleKeys([
    'popupSelectNodeTitleMultiple',
    'popupSelectNodeTitleSingle',
    'popupSelectNodeNode',
    'popupSelectNodeIPv4Type',
    'popupSelectNodeIPv6Type',
    'popupSelectNodeIPNone',
    'popupSelectNodeIPShared',
    'popupSelectNodeIPDedicated',
    'popupSelectNodeButtonOk',
    'popupSelectNodeButtonCancel',
]);
$this->includeMigratorCss('popup/popup.css');
?>
<?php $this->includeMigratorJavaScript('lookup-extended.js'); ?>
<?php $this->includeMigratorJavaScript('popup/select-node.js'); ?>