Skip to content

Commit

Permalink
disabled tags removed
Browse files Browse the repository at this point in the history
  • Loading branch information
RBoelter committed Feb 17, 2021
1 parent ed7075f commit ce732db
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions templates/user/apiProfileForm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
<p>{translate key="user.apiKey.generateWarning"}</p>

Expand Down
6 changes: 3 additions & 3 deletions templates/user/changePassword.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
<p><span class="instruct">{translate key="user.profile.changePasswordInstructions"}</span></p>
{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" }
Expand Down
2 changes: 1 addition & 1 deletion templates/user/contactForm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
4 changes: 2 additions & 2 deletions templates/user/identityForm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
2 changes: 1 addition & 1 deletion templates/user/publicProfileForm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<p class="cmp_notification">
{translate key="plugins.generic.openid.disables.fields.info.orcid"}
</p>
{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}

Expand Down

0 comments on commit ce732db

Please sign in to comment.