Skip to content
Snippets Groups Projects
Commit 38250a95 authored by Alexander Purr's avatar Alexander Purr Committed by Robert Lange
Browse files

refs #21012 [finc] use external link view helper correctly

* escape url manually (coming from VuFind)
* translate label again (was falsely removed on previous commits)
* enable automatic label escaping by removing 4th parameter
parent 5ec7ed35
No related merge requests found
......@@ -179,7 +179,7 @@ if (!empty($holdingTitleHold)): ?>
<h2><?=$this->transEsc("external_access")?></h2>
<?php if (!empty($extUrls)): ?>
<?php foreach ($extUrls as $current): ?>
<a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>"><?=$this->translate($current['desc'])?></a>
<?=$this->externalLink($this->escapeHtmlAttr($this->proxyUrl($current['url'])), $this->translate($current['desc']))?>
<br/>
<?php endforeach; ?>
<?php 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