diff --git a/themes/fid_adlr/templates/RecordTab/holdingsils.phtml b/themes/fid_adlr/templates/RecordTab/holdingsils.phtml index f969f57236437a2c841d400458acb69e8ec92650..6435c9acf95095795912475bac70982e84ab5e3d 100644 --- a/themes/fid_adlr/templates/RecordTab/holdingsils.phtml +++ b/themes/fid_adlr/templates/RecordTab/holdingsils.phtml @@ -91,14 +91,9 @@ JS; <?php /* finc: add 'Online Access' in holdings-tab #13770 - VE */ ?> <?php if ($getit->showLinks() && (!empty($urls) || $openUrlActive || $doiActive)): ?> - <?= $this->context($this)->renderInContext('get-it-box/links.phtml', [ - 'getit' => $getit, - 'openUrl' => $openUrl, - 'openUrlActive' => $openUrlActive, - 'urls' => $urls, - 'doiActive' => $doiActive, - 'doi' => $doi - ]); ?> + <?= $this->context($this)->renderInContext('get-it-box/links.phtml', + compact('getit', 'openUrl','openUrlActive','urls','doiActive','doi') + ); ?> <?php endif; ?> </div> diff --git a/themes/fid_adlr/templates/get-it-box/links.phtml b/themes/fid_adlr/templates/get-it-box/links.phtml index 6e6869c67507e943fecc5bc048048357552dd266..db5a5a7636c26c64b3fab73a8984ff14ca2dc3f6 100644 --- a/themes/fid_adlr/templates/get-it-box/links.phtml +++ b/themes/fid_adlr/templates/get-it-box/links.phtml @@ -28,7 +28,7 @@ </span> <?php endif; ?> <?php endif; ?> - <?/*= $openUrl->renderTemplate() */?> + <?= $openUrl->renderTemplate() ?> <?php if ($doiActive): ?><?= $doi->renderTemplate() ?><?php endif; ?> <?php endif; ?> </div>