{** * templates/manager/people/userProfileForm.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * User profile form under journal management. * *} {strip} {url|assign:"currentUrl" op="people" path="all"} {assign var="pageTitle" value="manager.people"} {include file="common/header.tpl"} {/strip} {if not $userId} {assign var="passwordRequired" value="true"} {literal} {/literal} {/if} {if $userCreated}

{translate key="manager.people.userCreatedSuccessfully"}

{/if}

{if $userId}{translate key="manager.people.editProfile"}{else}{translate key="manager.people.createUser"}{/if}

{if $userId} {/if} {include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if} {if not $userId} {else} {/if} {if $authSourceOptions} {/if} {if !$implicitAuth} {if $userId} {else} {/if} {/if}{* !$implicitAuth *} {if count($availableLocales) > 1} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {url|assign:"userFormUrl" page="manager" op="editUser" path=$userId escape=false} {form_language_chooser form="userForm" url=$userFormUrl} {translate key="form.formLanguage.description"}
{fieldLabel name="salutation" key="user.salutation"}
{fieldLabel name="firstName" required="true" key="user.firstName"}
{fieldLabel name="middleName" key="user.middleName"}
{fieldLabel name="lastName" required="true" key="user.lastName"}
{fieldLabel suppressId="true" name="gender" key="user.gender"}
{fieldLabel name="initials" key="user.initials"}   {translate key="user.initialsExample"}
{fieldLabel name="enrollAs" key="manager.people.enrollUserAs"}
{translate key="manager.people.enrollUserAsDescription"}
{fieldLabel name="username" required="true" key="user.username"}   
{translate key="user.register.usernameRestriction"}
{fieldLabel suppressId="true" name="username" key="user.username"} {$username|escape}
{fieldLabel name="authId" key="manager.people.authSource"}
{fieldLabel name="password" required=$passwordRequired key="user.password"}
{translate key="user.register.passwordLengthRestriction" length=$minPasswordLength}
{fieldLabel name="password2" required=$passwordRequired key="user.repeatPassword"}
  {translate key="user.register.passwordLengthRestriction" length=$minPasswordLength}
{translate key="user.profile.leavePasswordBlank"}
 
 
 
{fieldLabel name="affiliation" key="user.affiliation"}
{translate key="user.affiliation.description"}
{fieldLabel name="signature" key="user.signature"}
{fieldLabel name="email" required="true" key="user.email"}
{fieldLabel name="orcid" key="user.orcid"}
{fieldLabel name="userUrl" key="user.url"}
{fieldLabel name="phone" key="user.phone"}
{fieldLabel name="fax" key="user.fax"}
{fieldLabel for="interests" key="user.interests"} {include file="form/interestsInput.tpl" FBV_interestsKeywords=$interestsKeywords FBV_interestsTextOnly=$interestsTextOnly}
{fieldLabel name="gossip" key="user.gossip"}
{fieldLabel name="mailingAddress" key="common.mailingAddress"}
{fieldLabel name="country" key="common.country"}
{fieldLabel name="biography" key="user.biography"}
{translate key="user.biography.description"}
{translate key="user.workingLanguages"} {foreach from=$availableLocales key=localeKey item=localeName}
{/foreach}

{if not $userId} {/if}

{translate key="common.requiredField"}

{if $generatePassword} {literal} {/literal} {/if} {include file="common/footer.tpl"}