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 fc7d18123d
commit 28b30c1e56
144 changed files with 385 additions and 285 deletions

View File

@@ -122,7 +122,7 @@ class UsersController
unset($_SESSION['form_errors'][$this->getFormId()]);
}
return \Tpl::view('users/user-edit', [
return \Shared\Tpl\Tpl::view('users/user-edit', [
'form' => $this->buildFormViewModel($user, $validationErrors),
]);
}
@@ -228,7 +228,7 @@ class UsersController
'Dodaj uzytkownika'
);
return \Tpl::view('users/users-list', [
return \Shared\Tpl\Tpl::view('users/users-list', [
'viewModel' => $viewModel,
]);
}
@@ -240,13 +240,13 @@ class UsersController
public function login_form(): string
{
return \Tpl::view('site/unlogged-layout');
return \Shared\Tpl\Tpl::view('site/unlogged-layout');
}
public function twofa(): string
{
return \Tpl::view('site/unlogged', [
'content' => \Tpl::view('users/user-2fa'),
return \Shared\Tpl\Tpl::view('site/unlogged', [
'content' => \Shared\Tpl\Tpl::view('users/user-2fa'),
]);
}