From 38f03c375eafdb6b95190729479c6fa0d721b400 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Mon, 16 Sep 2024 11:31:53 +0200 Subject: More i18n --- src/application/views/form_addpost.php | 11 ++++--- src/application/views/form_login.php | 11 ++++--- src/application/views/form_newtopic.php | 13 +++++--- src/application/views/form_register.php | 23 ++++++++------ src/application/views/nav_logged_in.php | 9 ++---- src/application/views/view_post.php | 20 ++++++------ src/application/views/view_topic_start.php | 43 ++++++++++++-------------- src/application/views/view_topics.php | 2 +- src/application/views/view_user.php | 49 ++++++++++++++++-------------- 9 files changed, 94 insertions(+), 87 deletions(-) (limited to 'src/application/views') diff --git a/src/application/views/form_addpost.php b/src/application/views/form_addpost.php index 88648b4..72dafe5 100644 --- a/src/application/views/form_addpost.php +++ b/src/application/views/form_addpost.php @@ -8,7 +8,7 @@ if ($lastFormUri !== $_SERVER["REQUEST_URI"]) $lastForm = []; RequestUtils::clearLastForm(); ?> -

Reply to this topic

+

$_formError]); @@ -16,12 +16,15 @@ if (($_formError = RequestUtils::getAndClearFormError()) !== null) { ?>
#form" method="post" enctype="multipart/form-data">
- +
- +
- +
diff --git a/src/application/views/form_login.php b/src/application/views/form_login.php index de8f28c..1ae20a9 100644 --- a/src/application/views/form_login.php +++ b/src/application/views/form_login.php @@ -21,21 +21,24 @@ if (($_formError = RequestUtils::getAndClearFormError()) !== null) { ?>
" method="post">
- + " required autofocus>
- +
- +
- Don't have an account? Register now + '', + "/link" => '', + ]) ?>
diff --git a/src/application/views/form_newtopic.php b/src/application/views/form_newtopic.php index 2e58268..a40f3a6 100644 --- a/src/application/views/form_newtopic.php +++ b/src/application/views/form_newtopic.php @@ -10,7 +10,7 @@ RequestUtils::clearLastForm(); ?>
#form" method="post" enctype="multipart/form-data">
- + " required autofocus>
- +
- +
- +
diff --git a/src/application/views/form_register.php b/src/application/views/form_register.php index 83f3f4e..a37e5c3 100644 --- a/src/application/views/form_register.php +++ b/src/application/views/form_register.php @@ -21,54 +21,57 @@ if (($_formError = RequestUtils::getAndClearFormError()) !== null) { ?>
" method="post">
- +
- + " required>
- + " required>
- +
- +
- + " required>
- +
CAPTCHA
- +
- +
- Already have an account? Sign in now + '', + "/link" => '', + ]) ?>
diff --git a/src/application/views/nav_logged_in.php b/src/application/views/nav_logged_in.php index 8ed8d07..39c65cb 100644 --- a/src/application/views/nav_logged_in.php +++ b/src/application/views/nav_logged_in.php @@ -2,12 +2,9 @@ use mystic\forum\orm\User; ?>