From d1c49a7663179299ec586c6cdd4b468ab34314e5 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 24 Nov 2022 20:07:39 -0500 Subject: [PATCH] Revert "fix: replace input type number with text/pattern" This reverts commit cde4c6ac7e413b8a0d3ed9262814e3d43f999ded. The changeset was naive in the sense that a lot of the changes inputs actually work better as type="number". --- public/language/en-GB/admin/settings/email.json | 1 - src/views/admin/partials/api/sorted-list/form.tpl | 2 +- src/views/admin/partials/temporary-ban.tpl | 2 +- src/views/admin/partials/temporary-mute.tpl | 2 +- src/views/admin/settings/advanced.tpl | 6 +++--- src/views/admin/settings/cookies.tpl | 2 +- src/views/admin/settings/email.tpl | 6 +++--- src/views/admin/settings/post.tpl | 6 +++--- src/views/admin/settings/uploads.tpl | 2 +- src/views/admin/settings/user.tpl | 6 +++--- 10 files changed, 17 insertions(+), 18 deletions(-) diff --git a/public/language/en-GB/admin/settings/email.json b/public/language/en-GB/admin/settings/email.json index 6f05a400c2..35e713adc0 100644 --- a/public/language/en-GB/admin/settings/email.json +++ b/public/language/en-GB/admin/settings/email.json @@ -40,7 +40,6 @@ "subscriptions.disable": "Disable email digests", "subscriptions.hour": "Digest Hour", "subscriptions.hour-help": "Please enter a number representing the hour to send scheduled email digests (e.g. 0 for midnight, 17 for 5:00pm). Keep in mind that this is the hour according to the server itself, and may not exactly match your system clock.
The approximate server time is:
The next daily digest is scheduled to be sent ", - "subscriptions.hour-hint": "a number between 0 and 24", "notifications.remove-images": "Remove images from email notifications", "require-email-address": "Require new users to specify an email address", "require-email-address-warning": "By default, users can opt-out of entering an email address by leaving the field blank. Enabling this option means they have to enter an email address in order to proceed with registration. It does not ensure user will enter a real email address, nor even an address they own.", diff --git a/src/views/admin/partials/api/sorted-list/form.tpl b/src/views/admin/partials/api/sorted-list/form.tpl index b69447aecb..00acbe7c05 100644 --- a/src/views/admin/partials/api/sorted-list/form.tpl +++ b/src/views/admin/partials/api/sorted-list/form.tpl @@ -3,7 +3,7 @@
- +

[[admin/settings/api:uid-help-text]]

diff --git a/src/views/admin/partials/temporary-ban.tpl b/src/views/admin/partials/temporary-ban.tpl index c99df22f23..5a3fdc9c62 100644 --- a/src/views/admin/partials/temporary-ban.tpl +++ b/src/views/admin/partials/temporary-ban.tpl @@ -3,7 +3,7 @@
- +
diff --git a/src/views/admin/partials/temporary-mute.tpl b/src/views/admin/partials/temporary-mute.tpl index 03256c76b5..31bcd631f3 100644 --- a/src/views/admin/partials/temporary-mute.tpl +++ b/src/views/admin/partials/temporary-mute.tpl @@ -3,7 +3,7 @@
- +
diff --git a/src/views/admin/settings/advanced.tpl b/src/views/admin/settings/advanced.tpl index 6359d48615..860e730790 100644 --- a/src/views/admin/settings/advanced.tpl +++ b/src/views/admin/settings/advanced.tpl @@ -121,7 +121,7 @@
-
+
- +

[[admin/settings/advanced:traffic.event-lag-help]]

- +

[[admin/settings/advanced:traffic.lag-check-interval-help]]

diff --git a/src/views/admin/settings/cookies.tpl b/src/views/admin/settings/cookies.tpl index cdf4807b66..367c86d257 100644 --- a/src/views/admin/settings/cookies.tpl +++ b/src/views/admin/settings/cookies.tpl @@ -55,7 +55,7 @@
-
+

[[admin/settings/cookies:blank-default]]

diff --git a/src/views/admin/settings/email.tpl b/src/views/admin/settings/email.tpl index e528b51e58..4d8dcf27b1 100644 --- a/src/views/admin/settings/email.tpl +++ b/src/views/admin/settings/email.tpl @@ -50,13 +50,13 @@
- +
- +
@@ -97,7 +97,7 @@
- +

[[admin/settings/email:subscriptions.hour-help]]

diff --git a/src/views/admin/settings/post.tpl b/src/views/admin/settings/post.tpl index fda6efb623..8e8d2e76bc 100644 --- a/src/views/admin/settings/post.tpl +++ b/src/views/admin/settings/post.tpl @@ -158,21 +158,21 @@
- +

[[admin/settings/post:timestamp.cut-off-help]]

- +

[[admin/settings/post:timestamp.necro-threshold-help]]

- +

[[admin/settings/post:timestamp.topic-views-interval-help]]

diff --git a/src/views/admin/settings/uploads.tpl b/src/views/admin/settings/uploads.tpl index 49d344b2ab..820d6943dc 100644 --- a/src/views/admin/settings/uploads.tpl +++ b/src/views/admin/settings/uploads.tpl @@ -137,7 +137,7 @@
- +

[[admin/settings/uploads:orphanExpiryDays-help]]

diff --git a/src/views/admin/settings/user.tpl b/src/views/admin/settings/user.tpl index c5eaf88b9e..8a04d13524 100644 --- a/src/views/admin/settings/user.tpl +++ b/src/views/admin/settings/user.tpl @@ -179,7 +179,7 @@
- +

[[admin/settings/user:registration-queue-auto-approve-time-help]]

@@ -201,14 +201,14 @@
- +

[[admin/settings/user:max-invites-help]]

- +

[[admin/settings/user:invite-expiration-help]]