ver. 0.285: Tpl → Shared\Tpl namespace, CurlServer removal, thumb.php fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 00:13:59 +01:00
parent 6922b66eed
commit d2c9d97710
144 changed files with 385 additions and 285 deletions

View File

@@ -131,7 +131,7 @@ class LanguagesController
'Dodaj jezyk'
);
return \Tpl::view('languages/languages-list', [
return \Shared\Tpl\Tpl::view('languages/languages-list', [
'viewModel' => $viewModel,
]);
}
@@ -150,7 +150,7 @@ class LanguagesController
unset($_SESSION['form_errors'][$this->getLanguageFormId()]);
}
return \Tpl::view('languages/language-edit', [
return \Shared\Tpl\Tpl::view('languages/language-edit', [
'form' => $this->buildLanguageFormViewModel($language, $this->repository->maxOrder(), $validationErrors),
]);
}
@@ -324,7 +324,7 @@ class LanguagesController
'Dodaj tlumaczenie'
);
return \Tpl::view('languages/translations-list', [
return \Shared\Tpl\Tpl::view('languages/translations-list', [
'viewModel' => $viewModel,
]);
}
@@ -339,7 +339,7 @@ class LanguagesController
unset($_SESSION['form_errors'][$this->getTranslationFormId()]);
}
return \Tpl::view('languages/translation-edit', [
return \Shared\Tpl\Tpl::view('languages/translation-edit', [
'form' => $this->buildTranslationFormViewModel($translation, $languages, $validationErrors),
]);
}