X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/1c0d5a0d98cfae0547b8b6333dea1751c43d4ed2..667c9c08939da6fd9191296adcb1486d6a4ddc70:/lib/MECON/Marco/MenuPrincipal.php diff --git a/lib/MECON/Marco/MenuPrincipal.php b/lib/MECON/Marco/MenuPrincipal.php index e72db77..d46c9f3 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,7 @@ 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']); $row[] = $copete->toHtml(); $this->_tabla->addRow($row,'align="center" bgcolor="#FFFFFF"'); //}}} @@ -106,7 +106,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'); $i = $this->_tabla->addRow(array ($imagen->toHtml()), 'align="center"'); $this->_tabla->updateRowAttributes($i, 'height="1"'); @@ -123,9 +123,9 @@ 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', 'boder="0" align="center"'); $this->_tabla->addRow(array ($imagen->toHtml()), 'align="center"'); }