{** * templates/user/profile.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. * *} {strip} {assign var="pageTitle" value="user.profile.editProfile"} {url|assign:"url" op="profile"} {include file="common/header.tpl"} {/strip}
{include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if} {if $currentJournal} {/if} {if $allowRegReviewer || $isReviewer} {/if} {if count($availableLocales) > 1} {/if} {if $displayOpenAccessNotification} {assign var=notFirstJournal value=0} {foreach from=$journals name=journalOpenAccessNotifications key=thisJournalId item=thisJournal} {assign var=thisJournalId value=$thisJournal->getJournalId()} {assign var=publishingMode value=$thisJournal->getSetting('publishingMode')} {assign var=enableOpenAccessNotification value=$thisJournal->getSetting('enableOpenAccessNotification')} {assign var=notificationEnabled value=$user->getSetting('openAccessNotification', $thisJournalId)} {if !$notFirstJournal} {assign var=notFirstJournal value=1} {/if} {/foreach} {/if}
{fieldLabel name="formLocale" required="true" key="common.language"} {url|assign:"userProfileUrl" page="user" op="profile" escape=false} {form_language_chooser form="profile" url=$userProfileUrl} {translate key="form.formLanguage.description"}
{fieldLabel suppressId="true" name="username" key="user.username"} {$username|escape}
{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 name="initials" key="user.initials"}   {translate key="user.initialsExample"}
{fieldLabel name="gender" key="user.gender"}
{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"}
{translate key="user.orcid.description"}
{fieldLabel name="userUrl" key="user.url"}
{fieldLabel name="phone" key="user.phone"}
{fieldLabel name="fax" key="user.fax"}
{fieldLabel name="mailingAddress" key="common.mailingAddress"}
{fieldLabel name="country" key="common.country"}
{translate key="user.roles"} {if $allowRegReader}  {fieldLabel name="readerRole" key="user.role.reader"}
{/if} {if $allowRegAuthor}  {fieldLabel name="authorRole" key="user.role.author"}
{/if} {if $allowRegReviewer}  {fieldLabel name="reviewerRole" key="user.role.reviewer"}
{/if}
{fieldLabel name="interests" key="user.interests"} {include file="form/interestsInput.tpl" FBV_interestsKeywords=$interestsKeywords FBV_interestsTextOnly=$interestsTextOnly}
{fieldLabel name="biography" key="user.biography"}
{translate key="user.biography.description"}
{fieldLabel name="profileImage" key="user.profile.form.profileImage"} {if $profileImage} {translate key="common.fileName"}: {$profileImage.name|escape} {$profileImage.dateUploaded|date_format:$datetimeFormatShort}
{translate key= {/if}
{translate key="user.workingLanguages"} {foreach from=$availableLocales key=localeKey item=localeName}
{/foreach}
{translate key="user.profile.form.openAccessNotifications"} {/if} {if $publishingMode == $smarty.const.PUBLISHING_MODE_SUBSCRIPTION && $enableOpenAccessNotification}
{/if} {if $smarty.foreach.journalOpenAccessNotifications.last}

{translate key="common.requiredField"}

{include file="common/footer.tpl"}