summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristian Oliff <christianoliff@pm.me>2022-04-05 17:59:47 +0900
committerGitHub <noreply@github.com>2022-04-05 17:59:47 +0900
commitc13888a18877a76402eeceef84b7d89b3a4dd0eb (patch)
tree2cf36dfdeae0876ab99f03c839b161f32a1c50c6 /apps
parent34c9b572eb64a34c0f2cc7478a4f43b72ea3275f (diff)
downloadnextcloud-server-c13888a18877a76402eeceef84b7d89b3a4dd0eb.tar.gz
nextcloud-server-c13888a18877a76402eeceef84b7d89b3a4dd0eb.zip
use `inputmode="numeric"` on port number
this is a UX enhancement for touchscreen devices... e.g. iPad
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/templates/settings/admin/additional-mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/admin/additional-mail.php b/apps/settings/templates/settings/admin/additional-mail.php
index a7e8382de18..6b85fcbe867 100644
--- a/apps/settings/templates/settings/admin/additional-mail.php
+++ b/apps/settings/templates/settings/admin/additional-mail.php
@@ -140,7 +140,7 @@ $mail_sendmailmode = [
<input type="text" name="mail_smtphost" id="mail_smtphost" placeholder="smtp.example.com"
value="<?php p($_['mail_smtphost']) ?>" />
:
- <input type="text" name="mail_smtpport" id="mail_smtpport" placeholder="<?php p($l->t('Port'))?>"
+ <input type="text" inputmode="numeric" name="mail_smtpport" id="mail_smtpport" placeholder="<?php p($l->t('Port'))?>"
value="<?php p($_['mail_smtpport']) ?>" />
</p>
</form>