X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/eb86d04858357c87d5d7a7e3cb528ef24949b725..051a61896eceaa43618c6c61c85502a74d7910b4:/sistema/local_lib/HTML_Copete.php?ds=inline diff --git a/sistema/local_lib/HTML_Copete.php b/sistema/local_lib/HTML_Copete.php index 78b3c8c..80becd7 100644 --- a/sistema/local_lib/HTML_Copete.php +++ b/sistema/local_lib/HTML_Copete.php @@ -49,17 +49,29 @@ class HTML_Copete extends HTML_Table { */ function HTML_Copete($seccion) // ~X2C { - echo ''; - echo ' - Intranet - Mapa de Intranet - Cambio de Clave - Ayuda - E-mail - Sistemas - Servicios - Noticias - '; + $mapa = 'IntranetE-mailCambio de ClaveAyudaLogoutSistemasServiciosNoticias'; parent::HTML_Table(array('width' => '760', @@ -69,13 +81,13 @@ 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(''), array('colspan' => '4')); + $this->addRow(array(''.$mapa), array('colspan' => '4')); $fila = array(); - $fila[] = ''; - $fila[] = ''; + $fila[] = ''; + $fila[] = ''; switch($seccion) { case 'noticias': $fila[] = 'Enlaces útiles: @@ -100,8 +112,23 @@ parent::HTML_Table(array('width' => '760', case 'sistemas': $fila[] = 'Sistemas'; break; } - $fila[] = ''; - $this->addRow($fila, array('class' => 'copete_titulo_vinculos')); + $fila[] = ''; + $this->addRow($fila, array('class' => 'copete_titulo_vinculos')); + { + for($n = 0; $n < 4; $n++) + $this->updateCellAttributes(1, $n, array('width'=>$anchos[$n])); + } + } + // -X2C + + // +X2C Operation 169 + /** + * @return void + * @access public + */ + function getCSS() // ~X2C + { + return PATH_RAIZ."css/copete.css"; } // -X2C