X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/318a2f102fc0f2b56fe3b85d5ffbc7e812613761..051a61896eceaa43618c6c61c85502a74d7910b4:/sistema/local_lib/HTML_Copete.php diff --git a/sistema/local_lib/HTML_Copete.php b/sistema/local_lib/HTML_Copete.php index 9e68b66..80becd7 100644 --- a/sistema/local_lib/HTML_Copete.php +++ b/sistema/local_lib/HTML_Copete.php @@ -49,16 +49,29 @@ class HTML_Copete extends HTML_Table { */ function HTML_Copete($seccion) // ~X2C { - $mapa = ' - Intranet - E-mail - Cambio de Clave - Ayuda - Logout - Sistemas - Servicios - Noticias - '; + $mapa = 'IntranetE-mailCambio de ClaveAyudaLogoutSistemasServiciosNoticias'; parent::HTML_Table(array('width' => '760', @@ -68,7 +81,7 @@ parent::HTML_Table(array('width' => '760', $anchos = array('12', '25', '712', '11'); $fila = array(); foreach($anchos as $a) - $fila[] = ''; + $fila[] = ''; $this->addRow($fila); $img_seccion = 'images/copete_'.$seccion.'.jpg'; $this->addRow(array(''.$mapa), array('colspan' => '4')); @@ -100,11 +113,11 @@ parent::HTML_Table(array('width' => '760', break; } $fila[] = ''; - $this->addRow($fila, array('class' => 'copete_titulo_vinculos')); - $this->updateCellAttributes(2,0,array('width'=>'12')); - $this->updateCellAttributes(2,1,array('width'=>'25')); - $this->updateCellAttributes(2,2,array('width'=>'712')); - $this->updateCellAttributes(2,3,array('width'=>'11')); + $this->addRow($fila, array('class' => 'copete_titulo_vinculos')); + { + for($n = 0; $n < 4; $n++) + $this->updateCellAttributes(1, $n, array('width'=>$anchos[$n])); + } } // -X2C