$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(
- 'title' => $sistema->descripcion,
'border' => 0,
'width' => '46',
'height' => '46',
)
);
+ $row[] = new MECON_HTML_Link(
+ $sistema->link,
+ $img,
+ array(),
+ array(
+ 'target' => '_blank',
+ )
+ );
$row[] = ' ';
$link = new MECON_HTML_Link(
$sistema->link,
$sistema->nombre,
array(),
array(
- 'title' => $sistema->descripcion,
'target' => '_blank',
'class' => 'intranet_sistemas_txt',
)
);
- $html = $link->toHtml();
+ $html = $link->toHtml() . ': ' . $sistema->descripcion;
if ($sistema->link_ayuda) {
$html .= ' ';
$img = new MECON_HTML_Image(
array(),
array(
'target' => '_blank',
- 'class' => 'intranet_sistemas_txt',
)
);
$html .= $link->toHtml();
}
}
$t->addRow(array(' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '));
- $t->addRow($row);
+ $t->addRow($row, array('class' => 'intranet_sistemas_txt'));
}
-
-
-$m = new HTML_DietMarco('sistemas');
+$m = new HTML_DietMarco('sistemas', 'Sistemas');
$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;
+ color: #003366;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 10pt;
+ }
+ A.intranet_sistemas_txt {
+ font-weight: bold;
text-decoration: none;
}'
);