mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 20:36:38 -04:00
Completely type hint template functions and switch to named arguments
This commit is contained in:
parent
6108b5e53d
commit
124e8343fc
125 changed files with 542 additions and 450 deletions
|
@ -1,7 +1,7 @@
|
|||
<?
|
||||
$colorScheme = Enums\ColorSchemeType::tryFrom(HttpInput::Str(COOKIE, 'color-scheme') ?? Enums\ColorSchemeType::Auto->value);
|
||||
|
||||
?><?= Template::Header(['title' => 'Website Settings', 'description' => 'Adjust your settings for viewing the Standard Ebooks website.']) ?>
|
||||
?><?= Template::Header(title: 'Website Settings', description: 'Adjust your settings for viewing the Standard Ebooks website.') ?>
|
||||
<main>
|
||||
<h1>Website Settings</h1>
|
||||
<form action="/settings" method="<?= Enums\HttpMethod::Post->value ?>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue