}
require_once '../local_lib/intranetdb.php';
require_once 'HTML/Table.php';
-require_once 'HTML/Link.php';
-require_once 'HTML/Image.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',
)
);
$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(),
$html = $img->toHtml() . $link->toHtml() . '<BR>'
. $sistema->descripcion;
if ($sistema->link_ayuda) {
- $link = new HTML_Link(
+ $link = new MECON_HTML_Link(
$sistema->link_ayuda,
'(?)',
array(),
$row[] = ' ';
}
}
- $t->addRow($row, array('width' => $pct));
+ $t->addRow($row, array('width' => $pct, 'valign' => 'top'));
}
$m = new HTML_DietMarco('sistemas');