<?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
-------------------------------------------------------------------------------
- Ministerio de EconomÃa
- meconlib
+ mlib
-------------------------------------------------------------------------------
-This file is part of meconlib.
+This file is part of mlib.
-meconlib is free software; you can redistribute it and/or modify it under
+mlib is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
-meconlib is distributed in the hope that it will be useful, but WITHOUT
+mlib is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-----------------------------------------------------------------------------*/
require_once 'HTML/Table.php';
-require_once 'MECON/HTML/Image.php';
-require_once 'MECON/Marco/MenuHorizontal.php';
+require_once 'MLIB/HTML/Image.php';
+require_once 'MLIB/Marco/MenuHorizontal.php';
/**
*
* @access public
*/
-class MECON_Marco_MenuPrincipal extends MECON_Marco_MenuHorizontal {
+class MLIB_Marco_MenuPrincipal extends MLIB_Marco_MenuHorizontal {
/**
* Contiene el objeto seccion que se encuentra seleccionada. Se utiliza para mostrar el menu.
*
* @return void
* @access public
*/
- function MECON_Marco_MenuPrincipal($configuracion)
+ function MLIB_Marco_MenuPrincipal($configuracion)
{
- parent::MECON_Marco_Menu($configuracion);
+ parent::MLIB_Marco_Menu($configuracion);
if (!is_null($configuracion['secciones'] || $configuracion['secciones'] == '')) {
$this->_armarArraySecciones($this->_obtenerConfSecciones());
//ARMO EL MENU PRINCIPAL
$colspan = count($this->_componentes);
//Agrego el copete
- $copete =& new MECON_Marco_Copete
+ $copete =& new MLIB_Marco_Copete
(@$this->_configuracion['directorios']['imagenes'],
@$this->_configuracion['ayuda'],
@$this->_configuracion['titulo_sistema']
'width="'.$width.'%"');
}
//Agrego la linea de separacion
- $tmp = $this->_tabla->addRow(array(new MECON_HTML_Image(
- '/MECON/images/general_linea.gif', str_repeat('=', 108)
+ $tmp = $this->_tabla->addRow(array(new MLIB_HTML_Image(
+ '/MLIB/images/general_linea.gif', str_repeat('=', 108)
)),'align="center" height="1"');
$this->_tabla->updateCellAttributes($tmp, 0, 'colspan="'.$colspan.'"');
),'align="left" bgcolor="#FFFFFF" colspan="'.
$colspan .'"');
$this->_tabla->addRow(array(
- new MECON_HTML_Image('/MECON/images/general_linea2.gif',
+ new MLIB_HTML_Image('/MLIB/images/general_linea2.gif',
str_repeat('-', 108))),
'border="0" align="center" colspan="'. $colspan .'"');
}