Skip to content
Snippets Groups Projects
Commit cb28462e authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Clean up inconsistent use of recordLink::getUrl.

- Eliminate unused second parameter values.
- Switch to getTabUrl for PDF linking.
parent f2cd80b0
No related merge requests found
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<?php endif; ?> <?php endif; ?>
<?php if ($this->driver->hasHTMLFullTextAvailable()): ?> <?php if ($this->driver->hasHTMLFullTextAvailable()): ?>
<span> <span>
<a href="<?=$this->recordLink()->getUrl($this->driver, 'fulltext')?>#html" class="icon html fulltext"> <a href="<?=$this->recordLink()->getUrl($this->driver)?>#html" class="icon html fulltext">
<?=$this->transEsc('HTML Full Text')?> <?=$this->transEsc('HTML Full Text')?>
</a> </a>
</span><br /> </span><br />
......
...@@ -77,14 +77,14 @@ ...@@ -77,14 +77,14 @@
</div> </div>
<?php if ($this->driver->hasHTMLFullTextAvailable()): ?> <?php if ($this->driver->hasHTMLFullTextAvailable()): ?>
<a href="<?= $this->recordLink()->getUrl($this->driver, 'fulltext') ?>#html" class="icon html fulltext _record_link" target="_blank"> <a href="<?= $this->recordLink()->getUrl($this->driver) ?>#html" class="icon html fulltext _record_link" target="_blank">
<?=$this->transEsc('HTML Full Text')?> <?=$this->transEsc('HTML Full Text')?>
</a> </a>
&nbsp; &nbsp; &nbsp; &nbsp;
<?php endif; ?> <?php endif; ?>
<?php if ($this->driver->hasPdfAvailable()): ?> <?php if ($this->driver->hasPdfAvailable()): ?>
<a href="<?= $this->recordLink()->getUrl($this->driver) . '/PDF'; ?>" class="icon pdf fulltext" target="_blank"> <a href="<?= $this->recordLink()->getTabUrl($this->driver, 'PDF'); ?>" class="icon pdf fulltext" target="_blank">
<?=$this->transEsc('PDF Full Text')?> <?=$this->transEsc('PDF Full Text')?>
</a> </a>
<?php endif; ?> <?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