Les liens de la box des rss s'ouvrent dans une autre fenetre du navigateur
This commit is contained in:
parent
4f9b94ad22
commit
c8d3cc4fbf
@ -19,7 +19,6 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -85,7 +84,8 @@ class box_external_rss extends ModeleBoxes {
|
|||||||
$this->info_box_contents[$i][0] = array('align' => 'left',
|
$this->info_box_contents[$i][0] = array('align' => 'left',
|
||||||
'logo' => $this->boximg,
|
'logo' => $this->boximg,
|
||||||
'text' => $title,
|
'text' => $title,
|
||||||
'url' => $href);
|
'url' => $href,
|
||||||
|
'target' => 'newrss');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,6 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -109,7 +108,11 @@ class ModeleBoxes
|
|||||||
{
|
{
|
||||||
$logo=eregi_replace("^object_","",$contents[$i][$j]['logo']);
|
$logo=eregi_replace("^object_","",$contents[$i][$j]['logo']);
|
||||||
print img_object($langs->trans("Show"),$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;
|
$maxlength=$this->MAXLENGTHBOX;
|
||||||
if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];
|
if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user