headTitle($this->translate('My Profile'));
// Set up breadcrumbs:
$this->layout()->breadcrumbs = '
=$this->transEsc('Your Profile')?>
=$this->flashmessages();?>
=
$this->renderArray(
$arrTemplate,
[
'firstname' => $this->user->getFirstName(),
'lastname' => $this->user->getLastName(),
'email' => $this->user->getEmail(),
],
[
$this->transEsc('First Name') => 'firstname',
$this->transEsc('Last Name') => 'lastname',
$this->transEsc('Email') => 'email',
]
);
?>
pickup ?? []) > 1 || !empty($this->preferredLibraryDisplay)): ?>
=$this->transEsc('Preferred Library')?>: |
pickup ?? []) > 1): // case 1: set home library allowed ?>
profile['home_library'] ?? ' ** ';
?>
=$this->transEscWithPrefix('location_', $this->preferredLibraryDisplay)?>
|
auth()->getManager()->supportsPersistentLogin($this->user->getAuthMethod())): ?>
=$this->transEsc('Saved Logins')?>
auth()->getLoginTokens($this->user->getId()); ?>
=$this->transEsc('No saved logins')?>
=$this->transEsc('saved_login_platform_and_browser')?> |
=$this->transEsc('Last Login')?> |
=$this->transEsc('saved_login_actions')?> |
$token): ?>
=$this->transEsc($token->getPlatform())?> / =$this->transEsc($token->getBrowser())?> |
=$token->getLastLogin()->format($this->config()->dateTimeFormat())?> |
|
profile)): ?>
=$this->transEsc('Library Catalog Profile')?>
=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->user]); ?>
=
$this->renderArray(
$arrTemplate,
$this->profile,
[
$this->transEsc('First Name') => 'firstname',
$this->transEsc('Last Name') => 'lastname',
$this->transEsc('Address') . ' 1' => 'address1',
$this->transEsc('Address') . ' 2' => 'address2',
$this->transEsc('Zip') => 'zip',
$this->transEsc('City') => 'city',
$this->transEsc('Country') => 'country',
$this->transEsc('Phone Number') => 'phone',
$this->transEsc('Mobile Number') => 'mobile_phone',
$this->transEsc('Group') => 'group',
$this->transEsc('patron_account_expires') => 'expiration_date',
]
);
?>
proxiedUsers)) {
$proxyValues['proxy_list_for'] = $this->proxiedUsers;
}
if (!empty($this->proxyingUsers)) {
$proxyValues['proxy_list_by'] = $this->proxyingUsers;
}
?>
=$this->transEsc('proxy_list_heading')?>
=$this->transEsc('proxy_list_description')?>
$proxyValueGroup): ?>
=$this->transEsc($proxyHeading)?>
- =$this->escapeHtml($proxyValue)?>
ils()->getOfflineMode() && $this->patronLoginView && !empty($this->patronLoginView->getTemplate())): ?>
=$this->partial($this->patronLoginView);?>