Skip to content
Snippets Groups Projects
Commit 06c75cef authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Fix of syntax in myresearch/menu. Closes VUFIND-1097.

parent 9002410a
No related merge requests found
<h4><?=$this->transEsc('Your Account')?></h4> <h4><?=$this->transEsc('Your Account')?></h4>
<ul class="list-group"> <div class="list-group">
<? if ($this->userlist()->getMode() !== 'disabled'): ?> <? if ($this->userlist()->getMode() !== 'disabled'): ?>
<a href="<?=$this->url('myresearch-favorites')?>" class="list-group-item<?=$this->active == 'favorites' ? ' active' : ''?>"> <a href="<?=$this->url('myresearch-favorites')?>" class="list-group-item<?=$this->active == 'favorites' ? ' active' : ''?>">
<?=$this->transEsc('Favorites')?> <?=$this->transEsc('Favorites')?>
...@@ -54,19 +54,19 @@ ...@@ -54,19 +54,19 @@
<span class="pull-right"><i class="fa fa-sign-out"></i></span> <span class="pull-right"><i class="fa fa-sign-out"></i></span>
</a> </a>
<? endif; ?> <? endif; ?>
</ul> </div>
<? if ($this->auth()->isLoggedIn() && $this->auth()->getManager()->supportsPasswordChange()): ?> <? if ($this->auth()->isLoggedIn() && $this->auth()->getManager()->supportsPasswordChange()): ?>
<h4><?=$this->transEsc('Preferences')?></h4> <h4><?=$this->transEsc('Preferences')?></h4>
<ul class="list-group"> <div class="list-group">
<a href="<?=$this->url('myresearch-changepassword') ?>" class="list-group-item<?=$this->active == 'newpassword' ? ' active' : ''?>"> <a href="<?=$this->url('myresearch-changepassword') ?>" class="list-group-item<?=$this->active == 'newpassword' ? ' active' : ''?>">
<?=$this->transEsc('Change Password') ?> <?=$this->transEsc('Change Password') ?>
<span class="pull-right"><i class="fa fa-lock"></i></span> <span class="pull-right"><i class="fa fa-lock"></i></span>
</a> </a>
</ul> </div>
<? endif; ?> <? endif; ?>
<? if ($this->userlist()->getMode() !== 'disabled' && $user = $this->auth()->isLoggedIn()): ?> <? if ($this->userlist()->getMode() !== 'disabled' && $user = $this->auth()->isLoggedIn()): ?>
<h4><?=$this->transEsc('Your Lists')?></h4> <h4><?=$this->transEsc('Your Lists')?></h4>
<ul class="list-group"> <div class="list-group">
<a href="<?=$this->url('myresearch-favorites')?>" class="list-group-item<?=$this->active == 'favorites' ? ' active' : ''?>"> <a href="<?=$this->url('myresearch-favorites')?>" class="list-group-item<?=$this->active == 'favorites' ? ' active' : ''?>">
<?=$this->transEsc('Your Favorites')?> <?=$this->transEsc('Your Favorites')?>
<span class="pull-right"><i class="fa fa-star"></i></span> <span class="pull-right"><i class="fa fa-star"></i></span>
...@@ -82,5 +82,5 @@ ...@@ -82,5 +82,5 @@
<?=$this->transEsc('Create a List') ?> <?=$this->transEsc('Create a List') ?>
<span class="pull-right"><i class="fa fa-plus"></i></span> <span class="pull-right"><i class="fa fa-plus"></i></span>
</a> </a>
</ul> </div>
<? endif ?> <? endif ?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment