X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/78684ebb4c9fa80743b39ca55d2183d7d0997b27..22ff747a92d77613360a06eb5b246b30b3be7997:/sistema/www/sistemas.php diff --git a/sistema/www/sistemas.php b/sistema/www/sistemas.php index a4498ec..5e51dbc 100644 --- a/sistema/www/sistemas.php +++ b/sistema/www/sistemas.php @@ -60,28 +60,34 @@ while ($sistema) { $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( @@ -94,7 +100,6 @@ while ($sistema) { array(), array( 'target' => '_blank', - 'class' => 'intranet_sistemas_txt', ) ); $html .= $link->toHtml(); @@ -111,24 +116,19 @@ while ($sistema) { } } $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; }' );