From 2f517899a2f3c4d014b5b737c4f652ed5ae2277f Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 2 Dec 2016 12:31:11 +0100 Subject: [PATCH 1/2] handle read-only parameters correctly Signed-off-by: Bjoern Schiessle --- settings/templates/personal.php | 52 ++++++++------------------------- 1 file changed, 12 insertions(+), 40 deletions(-) diff --git a/settings/templates/personal.php b/settings/templates/personal.php index caddfd9467c..ed0808432f4 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -66,9 +66,6 @@ -
@@ -77,8 +74,12 @@ if($_['displayNameChangeSupported']) { + + value="" + autocomplete="on" autocapitalize="off" autocorrect="off" /> + + t('No display name set')); } ?> +
- -
-
-

t('Full name'));?>

- t('No display name set')); } ?> -
-
-

t('Email')); ?>

- t('No email address set')); }?> -
-
-

t('Phone')); ?>

- t('No phone number set')); }?> -
-
-

t('Address')); ?>

- t('No address set')); }?> -
-
-

t('Website')); ?>

- t('No website set')); }?> -
-
-

t('Twitter')); ?>

- t('No twitter handle set')); }?> -
- -
-
From 9e66d5d7cf455f556358a1c33e2904124573b753 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Mon, 5 Dec 2016 10:03:39 +0100 Subject: [PATCH 2/2] hide password recovery note if email address can't be set Signed-off-by: Bjoern Schiessle --- settings/templates/personal.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/settings/templates/personal.php b/settings/templates/personal.php index ed0808432f4..a14982b9b74 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -97,8 +97,10 @@ t('No email address set')); }?> -
- t('For password recovery and notifications')); ?> + +
+ t('For password recovery and notifications')); ?> +