X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/f59d2c4de6a3969ca979e7318fe44be7e1a1fc71..997feeab434ec1ab5b6b94b8255068d732f8085f:/lib/MECON/Marco/MenuHorizontal.php diff --git a/lib/MECON/Marco/MenuHorizontal.php b/lib/MECON/Marco/MenuHorizontal.php index b395a28..11ee406 100644 --- a/lib/MECON/Marco/MenuHorizontal.php +++ b/lib/MECON/Marco/MenuHorizontal.php @@ -24,26 +24,15 @@ Autor: Martin Marrese $Id$ -----------------------------------------------------------------------------*/ -#require_once 'PEAR.php'; - - -// +X2C includes require_once 'MECON/Marco/Menu.php'; -// ~X2C - require_once 'MECON/HTML/Image.php'; -// +X2C Class 100 :MECON_Marco_MenuHorizontal /** * Clase que se encarga del manejo de los menues horizontales * - * @package MECON_Marco * @access public */ class MECON_Marco_MenuHorizontal extends MECON_Marco_Menu { - // ~X2C - - // +X2C Operation 139 /** * Funcion para agregar el cuerpo de la pagina a la pagina * @@ -54,7 +43,7 @@ class MECON_Marco_MenuHorizontal extends MECON_Marco_Menu { * @return void * @access public */ - function addBody($body, $titulo, $menu = null) // ~X2C + function addBody($body, $titulo, $menu = null) { $tmp = $this->_componentes; @@ -69,7 +58,7 @@ class MECON_Marco_MenuHorizontal extends MECON_Marco_Menu { $this->_tabla->updateColAttributes($col,'width="'.$width.'%"'); } - $imagen = new MECON_HTML_Image('/MECON/images/general_linea.gif'); + $imagen = new MECON_HTML_Image('/MECON/images/general_linea.gif', str_repeat('=', 108)); $i = $this->_tabla->addRow(array ($imagen->toHtml()), 'align="center" colspan="'.$c.'"'); $this->_tabla->updateRowAttributes($i, 'height="1"'); @@ -78,7 +67,8 @@ class MECON_Marco_MenuHorizontal extends MECON_Marco_Menu { $row = array ($this->_armarEncabezado($titulo.$this->_configuracion['subtitulo'])); $this->_tabla->addRow($row,'align="left" bgcolor="#FFFFFF" colspan="'.$c.'"'); - $imagen = new MECON_HTML_Image('/MECON/images/general_linea2.gif', 'boder="0" align="center"'); + $imagen = new MECON_HTML_Image('/MECON/images/general_linea2.gif', + str_repeat('.', 108), array('border' => 0, 'align' => 'center')); $this->_tabla->addRow(array ($imagen->toHtml()), 'align="center" colspan="'.$c.'"'); // @@ -133,8 +123,5 @@ class MECON_Marco_MenuHorizontal extends MECON_Marco_Menu { } // } - // -X2C - -} // -X2C Class :MECON_Marco_MenuHorizontal - +} ?> \ No newline at end of file