X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/30b342a8563ec023a0fdd4b37a690bd21311c33a..20d4a7ba7b9c030db66d4f655caa4cc481a509ae:/sistema/www/sistemas.php diff --git a/sistema/www/sistemas.php b/sistema/www/sistemas.php index a9bcd7c..d3edfbc 100644 --- a/sistema/www/sistemas.php +++ b/sistema/www/sistemas.php @@ -8,23 +8,21 @@ if(!isset($_SESSION['usuario'])) exit; } require_once '../local_lib/intranetdb.php'; -require_once 'MECON/HTML/Arbol/ArbolDB.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', ) ); @@ -37,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(), @@ -58,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(), @@ -72,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');