<?php
// Copyright 1999-2021. Plesk International GmbH. All rights reserved.
?>
<?= $this->partial('partials/tabs.phtml', ['tabs' => $this->tabs, 'renderTo' => 'main']) ?>
<?= $this->requireJs('views/admin/settings-ui/list-languages', [
    'languagesList' => [
        'data' => $this->listLanguages->fetchData(),
        'dataUrl' => '/settings-ui/list-languages-data',
        'searchFilters' => $this->listLanguages->getSearchFilterConfig(),
    ],
    'urls' => [
        'disable' => $this->url(['controller' => 'settings-ui', 'action' => 'disable-languages'], null, true),
        'enable' => $this->url(['controller' => 'settings-ui', 'action' => 'enable-languages'], null, true),
        'make-default' => $this->url(['controller' => 'settings-ui', 'action' => 'language-make-default'], null, true),
    ],
]) ?>
