From ce732db50e58e291467f393bfedefe6275ddcc9f Mon Sep 17 00:00:00 2001 From: R Boelter Date: Wed, 17 Feb 2021 11:32:03 +0100 Subject: [PATCH] disabled tags removed --- templates/user/apiProfileForm.tpl | 4 ++-- templates/user/changePassword.tpl | 6 +++--- templates/user/contactForm.tpl | 2 +- templates/user/identityForm.tpl | 4 ++-- templates/user/publicProfileForm.tpl | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/user/apiProfileForm.tpl b/templates/user/apiProfileForm.tpl index b09222d..5f9e837 100644 --- a/templates/user/apiProfileForm.tpl +++ b/templates/user/apiProfileForm.tpl @@ -30,8 +30,8 @@ {include file="controllers/notification/inPlaceNotification.tpl" notificationId="apiProfileNotification"} {fbvFormSection list=true} - {fbvElement id=apiKeyEnabled type="checkbox" label="user.apiKeyEnabled" checked=$apiKeyEnabled value=1 readonly=$openidApiFields disabled=$openidApiFields} - {fbvElement id=generateApiKey type="checkbox" label="user.apiKey.generate" value=1 readonly=$openidApiFields disabled=$openidApiFields} + {fbvElement id=apiKeyEnabled type="checkbox" label="user.apiKeyEnabled" checked=$apiKeyEnabled value=1 readonly=$openidApiFields } + {fbvElement id=generateApiKey type="checkbox" label="user.apiKey.generate" value=1 readonly=$openidApiFields } {/fbvFormSection}

{translate key="user.apiKey.generateWarning"}

diff --git a/templates/user/changePassword.tpl b/templates/user/changePassword.tpl index 81c2ed6..085f57d 100644 --- a/templates/user/changePassword.tpl +++ b/templates/user/changePassword.tpl @@ -28,12 +28,12 @@

{translate key="user.profile.changePasswordInstructions"}

{fbvFormArea id="changePasswordFormArea"} {fbvFormSection label="user.profile.oldPassword"} - {fbvElement type="text" password="true" id="oldPassword" value=$oldPassword maxLength="32" size=$fbvStyles.size.MEDIUM readonly=$openidPWFields disabled=$openidPWFields} + {fbvElement type="text" password="true" id="oldPassword" value=$oldPassword maxLength="32" size=$fbvStyles.size.MEDIUM readonly=$openidPWFields } {/fbvFormSection} {fbvFormSection label="user.profile.newPassword"} {capture assign="passwordLengthRestriction"}{translate key="user.register.form.passwordLengthRestriction" length=$minPasswordLength}{/capture} - {fbvElement type="text" password="true" id="password" value=$oldPassword label=$passwordLengthRestriction subLabelTranslate=false maxLength="32" size=$fbvStyles.size.MEDIUM readonly=$openidPWFields disabled=$openidPWFields} - {fbvElement type="text" password="true" id="password2" value=$oldPassword maxLength="32" label="user.profile.repeatNewPassword" size=$fbvStyles.size.MEDIUM readonly=$openidPWFields disabled=$openidPWFields} + {fbvElement type="text" password="true" id="password" value=$oldPassword label=$passwordLengthRestriction subLabelTranslate=false maxLength="32" size=$fbvStyles.size.MEDIUM readonly=$openidPWFields } + {fbvElement type="text" password="true" id="password2" value=$oldPassword maxLength="32" label="user.profile.repeatNewPassword" size=$fbvStyles.size.MEDIUM readonly=$openidPWFields } {/fbvFormSection} {if !$openidPWFields} {fbvFormButtons submitText="common.save" } diff --git a/templates/user/contactForm.tpl b/templates/user/contactForm.tpl index 3e9df01..bf985b9 100644 --- a/templates/user/contactForm.tpl +++ b/templates/user/contactForm.tpl @@ -30,7 +30,7 @@ {include file="controllers/notification/inPlaceNotification.tpl" notificationId="contactFormNotification"} {fbvFormSection} - {fbvElement type="email" label="user.email" id="email" value=$email size=$fbvStyles.size.MEDIUM required=true readonly=$openidContactFields disabled=$openidContactFields} + {fbvElement type="email" label="user.email" id="email" value=$email size=$fbvStyles.size.MEDIUM required=true readonly=$openidContactFields } {fbvElement type="textarea" label="user.signature" multilingual="true" name="signature" id="signature" value=$signature rich=true size=$fbvStyles.size.MEDIUM} {fbvElement type="text" label="user.phone" name="phone" id="phone" value=$phone maxlength="24" size=$fbvStyles.size.SMALL} {fbvElement type="text" label="user.affiliation" multilingual="true" name="affiliation" id="affiliation" value=$affiliation size=$fbvStyles.size.MEDIUM} diff --git a/templates/user/identityForm.tpl b/templates/user/identityForm.tpl index 51daf28..34c505b 100644 --- a/templates/user/identityForm.tpl +++ b/templates/user/identityForm.tpl @@ -46,8 +46,8 @@ {/fbvFormArea} {fbvFormArea id="userFormCompactLeft"} {fbvFormSection title="user.name"} - {fbvElement type="text" label="user.givenName" multilingual="true" required="true" id="givenName" value=$givenName maxlength="255" inline=true size=$fbvStyles.size.MEDIUM readonly=$openidIdentityFields disabled=$openidIdentityFields} - {fbvElement type="text" label="user.familyName" multilingual="true" id="familyName" value=$familyName maxlength="255" inline=true size=$fbvStyles.size.MEDIUM readonly=$openidIdentityFields disabled=$openidIdentityFields} + {fbvElement type="text" label="user.givenName" multilingual="true" required="true" id="givenName" value=$givenName maxlength="255" inline=true size=$fbvStyles.size.MEDIUM readonly=$openidIdentityFields } + {fbvElement type="text" label="user.familyName" multilingual="true" id="familyName" value=$familyName maxlength="255" inline=true size=$fbvStyles.size.MEDIUM readonly=$openidIdentityFields } {/fbvFormSection} {/fbvFormArea} diff --git a/templates/user/publicProfileForm.tpl b/templates/user/publicProfileForm.tpl index acad0f2..462b602 100644 --- a/templates/user/publicProfileForm.tpl +++ b/templates/user/publicProfileForm.tpl @@ -71,7 +71,7 @@

{translate key="plugins.generic.openid.disables.fields.info.orcid"}

- {fbvElement type="text" label="user.orcid" name="orcid" id="orcid" value=$orcid maxlength="37" readonly="true" disabled="true"} + {fbvElement type="text" label="user.orcid" name="orcid" id="orcid" value=$orcid maxlength="37" readonly="true" } {/if} {/fbvFormSection}