From af5c414e7d14f43f4fdb6ca422b1980ce11fea11 Mon Sep 17 00:00:00 2001 From: Robert Lange <robert.lange@uni-leipzig.de> Date: Tue, 9 Jun 2020 10:49:57 +0200 Subject: [PATCH] refs #17648 [fid_adlr] remove blank target from several links * in Header to Blog, About Us, FAQ, Services for subject specialists * in Footer to imprint * on HomePage to Blog Posts --- themes/fid_adlr/templates/footer.phtml | 2 +- themes/fid_adlr/templates/header.phtml | 8 ++++---- themes/fid_adlr/templates/search/home.phtml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/fid_adlr/templates/footer.phtml b/themes/fid_adlr/templates/footer.phtml index 16df0987d33..82cf9cff054 100644 --- a/themes/fid_adlr/templates/footer.phtml +++ b/themes/fid_adlr/templates/footer.phtml @@ -64,7 +64,7 @@ <div class="row" id="footer-copyright"> <div class="col-sm-12"> <div class="footer-indent"> - <p>© Universitätsbibliothek Leipzig | <a href="https://blog.adlr.link/impressum/" target="_blank"><?=$this->transEsc('Legal Info')?></a></p> + <p>© Universitätsbibliothek Leipzig | <a href="https://blog.adlr.link/impressum/"><?=$this->transEsc('Legal Info')?></a></p> </div> </div> </div> diff --git a/themes/fid_adlr/templates/header.phtml b/themes/fid_adlr/templates/header.phtml index 36a7fb98e36..a29e1228b64 100644 --- a/themes/fid_adlr/templates/header.phtml +++ b/themes/fid_adlr/templates/header.phtml @@ -180,16 +180,16 @@ </li> <?php endif; ?> <li> - <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>" target="_blank"><?= $this->transEsc('Blog') ?></a> + <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>"><?= $this->transEsc('Blog') ?></a> </li> <li> - <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>/team" target="_blank"><?= $this->transEsc('About Us') ?></a> + <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>/team"><?= $this->transEsc('About Us') ?></a> </li> <li> - <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>/faq" target="_blank"><?=$this->transEsc('FAQs')?></a> + <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>/faq"><?=$this->transEsc('FAQs')?></a> </li> <li> - <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>/service-fuer-fachreferate" target="_blank"><?=$this->translate('Services for subject specialists')?></a> + <a href="<?= $this->config()->get('config')->RssConsumer['fallback_url'] ?? ""?>/service-fuer-fachreferate"><?=$this->translate('Services for subject specialists')?></a> </li> </div> diff --git a/themes/fid_adlr/templates/search/home.phtml b/themes/fid_adlr/templates/search/home.phtml index 6f98b4b7f69..1ad7d9e0cef 100644 --- a/themes/fid_adlr/templates/search/home.phtml +++ b/themes/fid_adlr/templates/search/home.phtml @@ -185,7 +185,7 @@ JS; if ($feeds && count($feeds) > 0) { foreach ($feeds as $feed) { if(!empty($feed['link']) && !empty($feed['title'])) { - echo '<p><a target= "_blank" href="' . $feed['link'] . '" title="' . $feed['title'] . '">' . $feed['title'] . '</a><br /><br />'; + echo '<p><a href="' . $feed['link'] . '" title="' . $feed['title'] . '">' . $feed['title'] . '</a><br /><br />'; } } } -- GitLab