X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/d04684a5f579cabd2a28c49e51324f72f6064712..20d4a7ba7b9c030db66d4f655caa4cc481a509ae:/sistema/www/sistemas.php diff --git a/sistema/www/sistemas.php b/sistema/www/sistemas.php index 8dfb339..d3edfbc 100644 --- a/sistema/www/sistemas.php +++ b/sistema/www/sistemas.php @@ -9,21 +9,20 @@ if(!isset($_SESSION['usuario'])) } require_once '../local_lib/intranetdb.php'; require_once 'HTML/Table.php'; -require_once 'HTML/Link.php'; +require_once 'MECON/HTML/Link.php'; +require_once 'MECON/HTML/Image.php'; #require_once 'AI/DB.php'; require_once 'DB.php'; require_once 'AI/Sistema.php'; -define('COLUMNAS', 3); +define('COLUMNAS', 2); $t = new HTML_Table( array( - 'width' => '100%', - 'cellspacing' => '0', + 'width' => '760', + 'cellspacing' => '10', 'cellpadding' => '0', 'border' => '0', - 'align' => 'left', - 'valign' => 'middle', ) ); @@ -36,16 +35,16 @@ while ($sistema) { $row = array(); for ($j = 0; $j < COLUMNAS; $j++) { if ($sistema) { - $img = new HTML_Image( + $img = new MECON_HTML_Image( "/sistemas/intranet/images/$sistema->icono", $sistema->nombre, array( 'title' => $sistema->descripcion, 'border' => 0, - 'align' => 'absmiddle', + 'align' => 'middle', ) ); - $link = new HTML_Link( + $link = new MECON_HTML_Link( $sistema->link, $sistema->nombre, array(), @@ -57,7 +56,7 @@ while ($sistema) { $html = $img->toHtml() . $link->toHtml() . '
' . $sistema->descripcion; if ($sistema->link_ayuda) { - $link = new HTML_Link( + $link = new MECON_HTML_Link( $sistema->link_ayuda, '(?)', array(), @@ -71,7 +70,7 @@ while ($sistema) { $row[] = ' '; } } - $t->addRow($row, array('width' => $pct)); + $t->addRow($row, array('width' => $pct, 'valign' => 'top')); } $m = new HTML_DietMarco('sistemas');