X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/1c0d5a0d98cfae0547b8b6333dea1751c43d4ed2..8266508aec785b49328716a9a95ac22a8735a3cc:/lib/MECON/Marco/MenuPrincipal.php?ds=sidebyside diff --git a/lib/MECON/Marco/MenuPrincipal.php b/lib/MECON/Marco/MenuPrincipal.php index e72db77..312abee 100644 --- a/lib/MECON/Marco/MenuPrincipal.php +++ b/lib/MECON/Marco/MenuPrincipal.php @@ -25,7 +25,7 @@ $Id$ -----------------------------------------------------------------------------*/ require_once 'HTML/Table.php'; -require_once 'HTML/Image.php'; +require_once 'MECON/HTML/Image.php'; // +X2C includes require_once 'MECON/Marco/MenuHorizontal.php'; @@ -86,7 +86,8 @@ class MECON_Marco_MenuPrincipal extends MECON_Marco_MenuHorizontal { $colspan = count($this->_componentes); //Agrego el copete {{{ - $copete = new MECON_Marco_Copete ($this->_configuracion['directorios']['imagenes']); + $copete = new MECON_Marco_Copete ($this->_configuracion['directorios']['imagenes'], + @$this->_configuracion['ayuda'], $this->_configuracion['titulo_sistema']); $row[] = $copete->toHtml(); $this->_tabla->addRow($row,'align="center" bgcolor="#FFFFFF"'); //}}} @@ -106,7 +107,7 @@ class MECON_Marco_MenuPrincipal extends MECON_Marco_MenuHorizontal { } $this->_tabla->addRow(array($TABLAM)); - $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"'); $this->_tabla->updateRowAttributes($i, 'height="1"'); @@ -123,9 +124,10 @@ class MECON_Marco_MenuPrincipal extends MECON_Marco_MenuHorizontal { } else { if ($this->_seccionSeleccionada) { - $row = array ($this->_armarEncabezado($this->_seccionSeleccionada->_nombre)); + $row = array ($this->_armarEncabezado($this->_seccionSeleccionada->_nombre.$this->_configuracion['subtitulo'])); $this->_tabla->addRow($row,'align="left" bgcolor="#FFFFFF"'); - $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"'); }