Commit 06b73762 authored by Tino Goratsch's avatar Tino Goratsch

replaced many more occurrences of superglobals

parent caa99670
......@@ -52,8 +52,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge(['title' => '', 'description' => ''], $this->request->getPost()->getAll()));
......@@ -157,8 +157,8 @@ class Index extends Core\Modules\Controller\Admin
if (empty($category) === false) {
$this->breadcrumb->setTitlePostfix($category['title']);
if (empty($_POST) === false) {
$this->_editPost($_POST, $category);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $category);
}
$this->view->assign('form', array_merge($category, $this->request->getPost()->getAll()));
......@@ -231,8 +231,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('categories');
......
......@@ -109,8 +109,8 @@ class Details extends Core\Modules\Controller\Admin
->append($this->lang->t('comments', 'admin_details_edit'))
->setTitlePostfix($comment['name']);
if (empty($_POST) === false) {
$this->_editPost($_POST, $comment);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $comment);
}
if ($this->emoticonsHelpers) {
......
......@@ -92,8 +92,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('comments');
......
......@@ -172,8 +172,8 @@ class Index extends Core\Modules\Controller\Frontend
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
// Emoticons einbinden, falls diese aktiv sind
......
......@@ -38,8 +38,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionIndex()
{
if (empty($_POST) === false) {
$this->_indexPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_indexPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('contact');
......
......@@ -62,8 +62,8 @@ class Index extends Core\Modules\Controller\Frontend
public function actionIndex()
{
if (empty($_POST) === false) {
$this->_indexPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_indexPost($this->request->getPost()->getAll());
}
$defaults = [
......
......@@ -52,8 +52,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge(['code' => '', 'description' => ''], $this->request->getPost()->getAll()));
......@@ -125,8 +125,8 @@ class Index extends Core\Modules\Controller\Admin
$emoticon = $this->emoticonsModel->getOneById((int)$this->request->id);
if (empty($emoticon) === false) {
if (empty($_POST) === false) {
$this->_editPost($_POST, $emoticon);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $emoticon);
}
$this->view->assign('form', array_merge($emoticon, $this->request->getPost()->getAll()));
......@@ -195,8 +195,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge($this->config->getSettings('emoticons'), $this->request->getPost()->getAll()));
......
......@@ -38,8 +38,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionIndex()
{
if (empty($_POST) === false) {
$this->_indexPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_indexPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('feeds');
......
......@@ -86,8 +86,8 @@ class Index extends Core\Modules\Controller\Admin
{
$settings = $this->config->getSettings('files');
if (empty($_POST) === false) {
$this->_createPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll(), $settings);
}
// Datumsauswahl
......@@ -160,8 +160,8 @@ class Index extends Core\Modules\Controller\Admin
$this->breadcrumb->setTitlePostfix($file['title']);
if (empty($_POST) === false) {
$this->_editPost($_POST, $settings, $file);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $settings, $file);
}
// Datumsauswahl
......@@ -216,8 +216,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('files');
......
......@@ -66,8 +66,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
// Datumsauswahl
......@@ -124,8 +124,8 @@ class Index extends Core\Modules\Controller\Admin
$this->breadcrumb->setTitlePostfix($gallery['title']);
if (empty($_POST) === false) {
$this->_editPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll());
}
$this->view->assign('gallery_id', $this->request->id);
......@@ -182,8 +182,8 @@ class Index extends Core\Modules\Controller\Admin
{
$settings = $this->config->getSettings('gallery');
if (empty($_POST) === false) {
$this->_settingsPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll(), $settings);
}
if ($this->modules->isActive('comments') === true) {
......
......@@ -82,8 +82,8 @@ class Pictures extends Core\Modules\Controller\Admin
$settings = $this->config->getSettings('gallery');
if (empty($_POST) === false) {
$this->_createPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll(), $settings);
}
if ($settings['overlay'] == 0 && $settings['comments'] == 1 && $this->modules->isActive('comments') === true) {
......@@ -141,8 +141,8 @@ class Pictures extends Core\Modules\Controller\Admin
$settings = $this->config->getSettings('gallery');
if (empty($_POST) === false) {
$this->_editPost($_POST, $settings, $picture);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $settings, $picture);
}
if ($settings['overlay'] == 0 && $settings['comments'] == 1 && $this->modules->isActive('comments') === true) {
......
......@@ -91,8 +91,8 @@ class Index extends Core\Modules\Controller\Admin
$this->breadcrumb->setTitlePostfix($guestbook['name']);
if (empty($_POST) === false) {
$this->_editPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $settings);
}
if ($settings['emoticons'] == 1 && $this->emoticonsHelpers) {
......@@ -146,8 +146,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('guestbook');
......
......@@ -131,8 +131,8 @@ class Index extends Core\Modules\Controller\Frontend
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
// Emoticons einbinden
......
......@@ -66,8 +66,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge(['index_name' => '', 'title' => ''], $this->request->getPost()->getAll()));
......@@ -112,8 +112,8 @@ class Index extends Core\Modules\Controller\Admin
if (empty($menu) === false) {
$this->breadcrumb->setTitlePostfix($menu['title']);
if (empty($_POST) === false) {
$this->_editPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge($menu, $this->request->getPost()->getAll()));
......
......@@ -90,8 +90,8 @@ class Items extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
// Seitentyp
......@@ -168,8 +168,8 @@ class Items extends Core\Modules\Controller\Admin
$menuItem['seo_keywords'] = $this->seo->getKeywords($menuItem['uri']);
$menuItem['seo_description'] = $this->seo->getDescription($menuItem['uri']);
if (empty($_POST) === false) {
$this->_editPost($_POST, $menuItem);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $menuItem);
}
// Seitentyp
......
......@@ -86,8 +86,8 @@ class Index extends Core\Modules\Controller\Admin
{
$settings = $this->config->getSettings('news');
if (empty($_POST) === false) {
$this->_createPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll(), $settings);
}
// Datumsauswahl
......@@ -165,8 +165,8 @@ class Index extends Core\Modules\Controller\Admin
$settings = $this->config->getSettings('news');
if (empty($_POST) === false) {
$this->_editPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $settings);
}
// Datumsauswahl
......@@ -230,8 +230,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('news');
......@@ -241,7 +241,7 @@ class Index extends Core\Modules\Controller\Admin
$lang_readmore = [$this->lang->t('system', 'yes'), $this->lang->t('system', 'no')];
$this->view->assign('readmore', $this->get('core.helpers.forms')->selectGenerator('readmore', [1, 0], $lang_readmore, $settings['readmore'], 'checked'));
$this->view->assign('readmore_chars', empty($_POST) === false ? $_POST['readmore_chars'] : $settings['readmore_chars']);
$this->view->assign('readmore_chars', $this->request->getPost()->get('readmore_chars', $settings['readmore_chars']));
if ($this->modules->isActive('comments') === true) {
$lang_allow_comments = [$this->lang->t('system', 'yes'), $this->lang->t('system', 'no')];
......
......@@ -61,8 +61,8 @@ class Index extends Core\Modules\Controller\Admin
{
$settings = $this->config->getSettings('newsletter');
if (empty($_POST) === false) {
$this->_createPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll(), $settings);
}
$this->view->assign('date', $this->date->datepicker('date'));
......@@ -103,8 +103,8 @@ class Index extends Core\Modules\Controller\Admin
$settings = $this->config->getSettings('newsletter');
if (empty($_POST) === false) {
$this->_editPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $settings);
}
$this->view->assign('date', $this->date->datepicker('date', $newsletter['date']));
......@@ -170,8 +170,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$settings = $this->config->getSettings('newsletter');
......
......@@ -89,8 +89,8 @@ class Index extends Core\Modules\Controller\Frontend
public function actionIndex()
{
if (empty($_POST) === false) {
$this->_indexPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_indexPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge(['mail' => ''], $this->request->getPost()->getAll()));
......
......@@ -59,8 +59,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge(['name' => ''], $this->request->getPost()->getAll()));
......@@ -141,8 +141,8 @@ class Index extends Core\Modules\Controller\Admin
if (!empty($role)) {
$this->breadcrumb->setTitlePostfix($role['name']);
if (empty($_POST) === false) {
$this->_editPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll());
}
if ($this->request->id != 1) {
......
......@@ -52,8 +52,8 @@ class Resources extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
$modules = $this->modules->getActiveModules();
......@@ -97,8 +97,8 @@ class Resources extends Core\Modules\Controller\Admin
{
$resource = $this->permissionsModel->getResourceById((int)$this->request->id);
if (!empty($resource)) {
if (empty($_POST) === false) {
$this->_editPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll());
}
$privileges = $this->acl->getAllPrivileges();
......
......@@ -53,7 +53,7 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (isset($_POST['submit']) === true) {
$this->_createPost($_POST);
$this->_createPost($this->request->getPost()->getAll());
}
$answers = [];
......@@ -79,7 +79,7 @@ class Index extends Core\Modules\Controller\Admin
// Übergabe der Daten an Smarty
$this->view->assign('publication_period', $this->date->datepicker(['start', 'end']));
$this->view->assign('title', isset($_POST['title']) ? $_POST['title'] : '');
$this->view->assign('title', $this->request->getPost()->get('title', ''));
$this->view->assign('answers', $answers);
$this->view->assign('multiple', $this->get('core.helpers.forms')->selectEntry('multiple', '1', '0', 'checked'));
......@@ -115,7 +115,7 @@ class Index extends Core\Modules\Controller\Admin
$this->breadcrumb->setTitlePostfix($poll['title']);
if (isset($_POST['submit']) === true) {
$this->_editPost($_POST);
$this->_editPost($this->request->getPost()->getAll());
}
$answers = [];
......@@ -157,7 +157,7 @@ class Index extends Core\Modules\Controller\Admin
// Übergabe der Daten an Smarty
$this->view->assign('publication_period', $this->date->datepicker(['start', 'end'], [$poll['start'], $poll['end']]));
$this->view->assign('title', isset($_POST['title']) ? $_POST['title'] : $poll['title']);
$this->view->assign('title', $this->request->getPost()->get('title', $poll['title']));
$this->formTokenHelper->generateFormToken($this->request->getQuery());
} else {
......
......@@ -86,11 +86,11 @@ class Index extends Core\Modules\Controller\Frontend
{
$time = $this->date->getCurrentDateTime();
if ($this->get('core.validator.rules.misc')->isNumber($this->request->id) === true &&
$this->pollsModel->pollExists($this->request->id, $time, !empty($_POST['answer']) && is_array($_POST['answer'])) === true
$this->pollsModel->pollExists($this->request->id, $time, is_array($this->request->getPost()->get('answer'))) === true
) {
// Wenn abgestimmt wurde
if (!empty($_POST['answer']) && (is_array($_POST['answer']) === true || $this->get('core.validator.rules.misc')->isNumber($_POST['answer']) === true)) {
$this->_votePost($_POST, $time);
if (is_array($this->request->getPost()->get('answer')) === true || $this->get('core.validator.rules.misc')->isNumber($this->request->getPost()->get('answer')) === true) {
$this->_votePost($this->request->getPost()->getAll(), $time);
} else {
$poll = $this->pollsModel->getOneById($this->request->id);
......
......@@ -52,8 +52,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
$this->view->assign('SEO_FORM_FIELDS', $this->seo->formFields());
......@@ -89,8 +89,8 @@ class Index extends Core\Modules\Controller\Admin
if (empty($seo) === false) {
$this->breadcrumb->setTitlePostfix($seo['alias']);
if (empty($_POST) === false) {
$this->_editPost($_POST, $seo['uri']);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll(), $seo['uri']);
}
$this->view->assign('SEO_FORM_FIELDS', $this->seo->formFields($seo['uri']));
......@@ -181,8 +181,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionSettings()
{
if (empty($_POST) === false) {
$this->_settingsPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll());
}
$seoSettings = $this->config->getSettings('seo');
......
......@@ -52,8 +52,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionConfiguration()
{
if (empty($_POST) === false) {
$this->_configurationPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_configurationPost($this->request->getPost()->getAll());
}
$systemSettings = $this->config->getSettings('system');
......
......@@ -96,8 +96,8 @@ class Maintenance extends Core\Modules\Controller\Admin
public function actionSqlExport()
{
if (empty($_POST) === false) {
$this->_sqlExportPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_sqlExportPost($this->request->getPost()->getAll());
}
$dbTables = $this->systemModel->getSchemaTables();
......@@ -134,8 +134,8 @@ class Maintenance extends Core\Modules\Controller\Admin
public function actionSqlImport()
{
if (empty($_POST) === false) {
$this->_sqlImportPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_sqlImportPost($this->request->getPost()->getAll());
}
$this->view->assign('form', array_merge(['text' => ''], $this->request->getPost()->getAll()));
......
......@@ -68,8 +68,8 @@ class Account extends Core\Modules\Controller\Frontend
public function actionEdit()
{
if (empty($_POST) === false) {
$this->_editPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_editPost($this->request->getPost()->getAll());
}
$user = $this->auth->getUserInfo();
......@@ -90,19 +90,19 @@ class Account extends Core\Modules\Controller\Frontend
$contact = [];
$contact[0]['name'] = 'mail';
$contact[0]['lang'] = $this->lang->t('system', 'email_address');
$contact[0]['value'] = empty($_POST) === false ? $_POST['mail'] : $user['mail'];
$contact[0]['value'] = $this->request->getPost()->get('mail', $user['mail']);
$contact[0]['maxlength'] = '120';
$contact[1]['name'] = 'website';
$contact[1]['lang'] = $this->lang->t('system', 'website');
$contact[1]['value'] = empty($_POST) === false ? $_POST['website'] : $user['website'];
$contact[1]['value'] = $this->request->getPost()->get('website', $user['website']);
$contact[1]['maxlength'] = '120';
$contact[2]['name'] = 'icq';
$contact[2]['lang'] = $this->lang->t('users', 'icq');
$contact[2]['value'] = empty($_POST) === false ? $_POST['icq'] : $user['icq'];
$contact[2]['value'] = $this->request->getPost()->get('icq', $user['icq']);
$contact[2]['maxlength'] = '9';
$contact[3]['name'] = 'skype';
$contact[3]['lang'] = $this->lang->t('users', 'skype');
$contact[3]['value'] = empty($_POST) === false ? $_POST['skype'] : $user['skype'];
$contact[3]['value'] = $this->request->getPost()->get('skype', $user['skype']);
$contact[3]['maxlength'] = '28';
$this->view->assign('contact', $contact);
......@@ -126,8 +126,8 @@ class Account extends Core\Modules\Controller\Frontend
{
$settings = $this->config->getSettings('users');
if (empty($_POST) === false) {
$this->_settingsPost($_POST, $settings);
if ($this->request->getPost()->isEmpty() === false) {
$this->_settingsPost($this->request->getPost()->getAll(), $settings);
}
$user = $this->usersModel->getOneById($this->auth->getUserId());
......@@ -136,7 +136,7 @@ class Account extends Core\Modules\Controller\Frontend
$this->view->assign('entries_override', $settings['entries_override']);
// Sprache
$this->view->assign('languages', $this->lang->getLanguagePack(isset($_POST['language']) ? $_POST['language'] : $user['language']));
$this->view->assign('languages', $this->lang->getLanguagePack($this->request->getPost()->get('language', $user['language'])));
// Einträge pro Seite
$this->view->assign('entries', $this->get('core.helpers.forms')->recordsPerPage((int)$user['entries']));
......@@ -167,7 +167,7 @@ class Account extends Core\Modules\Controller\Frontend
public function actionIndex()
{
if (empty($_POST) === false) {
if ($this->request->getPost()->isEmpty() === false) {
$updateValues = [
'draft' => Core\Functions::strEncode($_POST['draft'], true)
];
......
......@@ -74,8 +74,8 @@ class Index extends Core\Modules\Controller\Admin
public function actionCreate()
{
if (empty($_POST) === false) {
$this->_createPost($_POST);
if ($this->request->getPost()->isEmpty() === false) {
$this->_createPost($this->request->getPost()->getAll());
}
$systemSettings = $this->config->getSettings('system');
......@@ -94,7 +94,7 @@ class Index extends Core\Modules\Controller\Admin
$this->view->assign('super_user', $this->formsHelpers->selectGenerator('super_user', [1, 0], $lang_super_user, 0, 'checked'));
// Sprache
$this->view->assign('languages', $this->lang->getLanguagePack(isset($_POST['language']) ? $_POST['language'] : $systemSettings['lang']));
$this->view->assign('languages', $this->lang->getLanguagePack($this->request->getPost()->get('language', $systemSettings['lang'])));
// Einträge pro Seite
$this->view->assign('entries', $this->formsHelpers->recordsPerPage($systemSettings['entries']));
......@@ -123,19 +123,19 @@ class Index extends Core\Modules\Controller\Admin
$contact = [];
$contact[0]['name'] = 'mail';
$contact[0]['lang'] = $this</