From 6b7e714b59e28bc138681662006941274c3261af Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Mon, 16 Sep 2024 19:32:09 +0200 Subject: A lot more stuff --- src/application/views/alert_error.php | 9 ++++- src/application/views/alert_info.php | 9 +++++ src/application/views/alert_success.php | 9 +++++ src/application/views/form_register.php | 2 +- src/application/views/template_end.php | 2 +- src/application/views/template_start.php | 3 +- src/application/views/view_post.php | 26 +++++++++++--- src/application/views/view_topic_start.php | 54 ++++++++++++++++++++++++++++++ src/application/views/view_user.php | 8 ++++- 9 files changed, 113 insertions(+), 9 deletions(-) create mode 100644 src/application/views/alert_info.php create mode 100644 src/application/views/alert_success.php (limited to 'src/application/views') diff --git a/src/application/views/alert_error.php b/src/application/views/alert_error.php index c18546b..acdb295 100644 --- a/src/application/views/alert_error.php +++ b/src/application/views/alert_error.php @@ -1,3 +1,10 @@ + diff --git a/src/application/views/alert_info.php b/src/application/views/alert_info.php new file mode 100644 index 0000000..7bf2e7b --- /dev/null +++ b/src/application/views/alert_info.php @@ -0,0 +1,9 @@ + + diff --git a/src/application/views/alert_success.php b/src/application/views/alert_success.php new file mode 100644 index 0000000..de3e023 --- /dev/null +++ b/src/application/views/alert_success.php @@ -0,0 +1,9 @@ + + diff --git a/src/application/views/form_register.php b/src/application/views/form_register.php index a37e5c3..a082611 100644 --- a/src/application/views/form_register.php +++ b/src/application/views/form_register.php @@ -27,7 +27,7 @@ if (($_formError = RequestUtils::getAndClearFormError()) !== null) {
- " required> + " required>
diff --git a/src/application/views/template_end.php b/src/application/views/template_end.php index c30330e..d12e2ff 100644 --- a/src/application/views/template_end.php +++ b/src/application/views/template_end.php @@ -39,7 +39,7 @@ $(function() { $("input[type=file]").each(function(i, e) { var isMultiple = !!$(e).prop("multiple"); - var $input = $('').attr("placeholder", _messages.filesSelected[0]); + var $input = $('').attr("placeholder", _messages.filesSelected[0]).css("text-overflow", "ellipsis"); $(e).after($('
').append( $input, $('').append( diff --git a/src/application/views/template_start.php b/src/application/views/template_start.php index 56af9bf..51f873a 100644 --- a/src/application/views/template_start.php +++ b/src/application/views/template_start.php @@ -16,10 +16,11 @@ $pageTitle .= env("MYSTIC_FORUM_TITLE") ?? "Forum"; <?= htmlentities($pageTitle) ?> - /theme.css"> + +