X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/4711fa9bc83e2337b3838942a597a00b0cefc2a3..da6c25deda9c9c9e20124b90be71eb3dca42fa2e:/lib/MECON/Marco/MenuHorizontal.php?ds=sidebyside diff --git a/lib/MECON/Marco/MenuHorizontal.php b/lib/MECON/Marco/MenuHorizontal.php index 700dd37..d926ebc 100644 --- a/lib/MECON/Marco/MenuHorizontal.php +++ b/lib/MECON/Marco/MenuHorizontal.php @@ -31,6 +31,8 @@ $Id$ 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 @@ -67,15 +69,17 @@ class MECON_Marco_MenuHorizontal extends MECON_Marco_Menu { $this->_tabla->updateColAttributes($col,'width="'.$width.'%"'); } - $imagen = new 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"'); //Agrego el titulo - $row = array ($this->_armarEncabezado($titulo)); + $row = array + ($this->_armarEncabezado($titulo.$this->_configuracion['subtitulo'])); $this->_tabla->addRow($row,'align="left" bgcolor="#FFFFFF" colspan="'.$c.'"'); - $imagen = new 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.'"'); //