From c8d3cc4fbf55260ab2998e9a97a77d17f271ffa9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 6 Sep 2005 00:29:39 +0000 Subject: [PATCH] Les liens de la box des rss s'ouvrent dans une autre fenetre du navigateur --- htdocs/includes/boxes/box_external_rss.php | 4 ++-- htdocs/includes/boxes/modules_boxes.php | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/htdocs/includes/boxes/box_external_rss.php b/htdocs/includes/boxes/box_external_rss.php index b39a512f213..c07cc51bd22 100644 --- a/htdocs/includes/boxes/box_external_rss.php +++ b/htdocs/includes/boxes/box_external_rss.php @@ -19,7 +19,6 @@ * * $Id$ * $Source$ - * */ /** @@ -85,7 +84,8 @@ class box_external_rss extends ModeleBoxes { $this->info_box_contents[$i][0] = array('align' => 'left', 'logo' => $this->boximg, 'text' => $title, - 'url' => $href); + 'url' => $href, + 'target' => 'newrss'); } diff --git a/htdocs/includes/boxes/modules_boxes.php b/htdocs/includes/boxes/modules_boxes.php index 51f2d6f75df..ac84ab4137c 100644 --- a/htdocs/includes/boxes/modules_boxes.php +++ b/htdocs/includes/boxes/modules_boxes.php @@ -18,7 +18,6 @@ * * $Id$ * $Source$ - * */ /** @@ -109,7 +108,11 @@ class ModeleBoxes { $logo=eregi_replace("^object_","",$contents[$i][$j]['logo']); print img_object($langs->trans("Show"),$logo); - print ''; + print ''; } $maxlength=$this->MAXLENGTHBOX; if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];