Les liens de la box des rss s'ouvrent dans une autre fenetre du navigateur

This commit is contained in:
Laurent Destailleur 2005-09-06 00:29:39 +00:00
parent 4f9b94ad22
commit c8d3cc4fbf
2 changed files with 7 additions and 4 deletions

View File

@ -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');
}

View File

@ -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 '</a></td><td '.$tdparam.'><a href="'.$contents[$i][$j]['url'].'" title="'.$textewithnotags.'">';
print '</a></td><td '.$tdparam.'><a href="'.$contents[$i][$j]['url'].'"';
print ' title="'.$textewithnotags.'"';
print ' alt="'.$textewithnotags.'"';
print isset($contents[$i][$j]['target'])?' target="'.$contents[$i][$j]['target'].'"':'';
print '>';
}
$maxlength=$this->MAXLENGTHBOX;
if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];