Skip to content
Snippets Groups Projects
Commit 9faa37a4 authored by Demian Katz's avatar Demian Katz
Browse files

Updated blueprint/jquerymobile links to match bootstrap3.

parent cd5ddf30
No related merge requests found
...@@ -24,11 +24,11 @@ ...@@ -24,11 +24,11 @@
<? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?> <? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?>
<? if (!$user): ?> <? if (!$user): ?>
<div class="info"> <div class="info">
<a href="<?=$this->currentPath()?>?login=true&amp;catalogLogin=true"><?=$this->transEsc("Login")?></a> <?=$this->transEsc("hold_login")?> <a href="<?=$this->recordLink()->getTabUrl($this->driver, 'Holdings')?>?login=true&amp;catalogLogin=true"><?=$this->transEsc("Login")?></a> <?=$this->transEsc("hold_login")?>
</div> </div>
<? elseif (!$user->cat_username): ?> <? elseif (!$user->cat_username): ?>
<div class="info"> <div class="info">
<?=$this->translate("hold_profile_html", array('%%url%%' => $this->currentPath() . '?catalogLogin=true'))?> <?=$this->translate("hold_profile_html", array('%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'))?>
</div> </div>
<? endif; ?> <? endif; ?>
<? endif; ?> <? endif; ?>
......
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
<? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?> <? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?>
<? if (!$user): ?> <? if (!$user): ?>
<div class="info"> <div class="info">
<a href="<?=$this->currentPath()?>?login=true&amp;catalogLogin=true"><?=$this->transEsc("Login")?></a> <?=$this->transEsc("hold_login")?> <a href="<?=$this->recordLink()->getTabUrl($this->driver, 'Holdings')?>?login=true&amp;catalogLogin=true"><?=$this->transEsc("Login")?></a> <?=$this->transEsc("hold_login")?>
</div> </div>
<? elseif (!$user->cat_username): ?> <? elseif (!$user->cat_username): ?>
<div class="info"> <div class="info">
<?=str_replace('href="', 'rel="external" href="', $this->translate("hold_profile_html", array('%%url%%' => $this->currentPath() . '?catalogLogin=true')))?> <?=str_replace('href="', 'rel="external" href="', $this->translate("hold_profile_html", array('%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true')))?>
</div> </div>
<? endif; ?> <? endif; ?>
<? 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