$row = array();
for ($j = 1; $j <= COLUMNAS; $j++) {
if ($sistema) {
- $row[] = new MECON_HTML_Image(
+ $img = new MECON_HTML_Image(
"/sistemas/intranet/images/$sistema->icono",
$sistema->nombre,
array(
'height' => '46',
)
);
+ $row[] = new MECON_HTML_Link(
+ $sistema->link,
+ $img,
+ array(),
+ array(
+ 'target' => '_blank',
+ )
+ );
$row[] = ' ';
$link = new MECON_HTML_Link(
$sistema->link,
array(),
array(
'target' => '_blank',
- 'class' => 'intranet_sistemas_txt',
)
);
$html .= $link->toHtml();
$m->addTitle('Sistemas');
$m->addStyleDeclaration('
.intranet_sistemas_txt {
- COLOR: #003366;
- FONT-FAMILY: Arial, Helvetica, sans-serif;
- FONT-SIZE: 10pt;
- FONT-WEIGHT: normal;
- font-style: normal;
- line-height: normal;
- background-position: left centre;
- text-align: left;
- vertical-align: middle;
- text-decoration: none;
+ color: #003366;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 10pt;
}
A.intranet_sistemas_txt {
font-weight: bold;
+ text-decoration: none;
}'
);
$m->addBodyContent($t);