{** * templates/sectionEditor/userProfile.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. * * Display user profile. * *} {strip} {assign var="pageTitle" value="manager.people"} {include file="common/header.tpl"} {/strip}
{translate key="user.salutation"}: | {$user->getSalutation()|escape} |
{translate key="user.username"}: | {$user->getUsername()|escape} |
{translate key="user.firstName"}: | {$user->getFirstName()|escape} |
{translate key="user.middleName"}: | {$user->getMiddleName()|escape} |
{translate key="user.lastName"}: | {$user->getLastName()|escape} |
{translate key="user.gender"} | {if $user->getGender() == "M"}{translate key="user.masculine"} {elseif $user->getGender() == "F"}{translate key="user.feminine"} {elseif $user->getGender() == "O"}{translate key="user.other"} {else}— {/if} |
{translate key="user.affiliation"}: | {$user->getLocalizedAffiliation()|escape|nl2br} |
{translate key="user.signature"}: | {$user->getLocalizedSignature()|escape|nl2br} |
{translate key="user.email"}: | {$user->getEmail()|escape} {assign var=emailString value=$user->getFullName()|concat:" <":$user->getEmail():">"} {url|assign:"url" page="user" op="email" to=$emailString|to_array redirectUrl=$currentUrl} {icon name="mail" url=$url} |
{translate key="user.url"}: | {$user->getUrl()|escape} |
{translate key="user.phone"}: | {$user->getPhone()|escape} |
{translate key="user.fax"}: | {$user->getFax()|escape} |
{translate key="user.interests"}: | {$userInterests|escape} |
{translate key="user.gossip"}: | {$user->getLocalizedGossip()|escape} |
{translate key="common.mailingAddress"}: | {$user->getMailingAddress()|strip_unsafe_html|nl2br} |
{translate key="user.biography"}: | {$user->getLocalizedBiography()|strip_unsafe_html|nl2br} |
{translate key="user.workingLanguages"}: | {foreach name=workingLanguages from=$user->getLocales() item=localeKey}{$localeNames.$localeKey|escape}{if !$smarty.foreach.workingLanguages.last}; {/if}{/foreach} |
{translate key="user.dateRegistered"}: | {$user->getDateRegistered()|date_format:$datetimeFormatLong} |
{translate key="user.dateLastLogin"}: | {$user->getDateLastLogin()|date_format:$datetimeFormatLong} |