<?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.
$Id$
-----------------------------------------------------------------------------*/
-require_once 'MECON/Marco/ImagenAnimada.php';
-require_once 'MECON/Marco/Menu.php';
-require_once 'MECON/Marco/MenuHorizontal.php';
-require_once 'MECON/Marco/MenuVertical.php';
-require_once 'MECON/Marco/MenuOculto.php';
+require_once 'MLIB/Marco/ImagenAnimada.php';
+require_once 'MLIB/Marco/Menu.php';
+require_once 'MLIB/Marco/MenuHorizontal.php';
+require_once 'MLIB/Marco/MenuVertical.php';
+require_once 'MLIB/Marco/MenuOculto.php';
/**
* Clase para el manejo de las secciones
*
* @access public
*/
-class MECON_Marco_Seccion {
+class MLIB_Marco_Seccion {
/**
* Nombre de la seccion.
*
* @return void
* @access public
*/
- function MECON_Marco_Seccion($seccion, $configuracion)
+ function MLIB_Marco_Seccion($seccion, $configuracion)
{
$this->_nombre = @strval($seccion['nombre']);
$imgComun = @strval($seccion['imagenComun']);
$this->_tipoMenu = @strval(strtolower($seccion['tipoMenu']));
$this->_link = @strval($seccion['link']);
- $this->_imagen = new MECON_Marco_ImagenAnimada( $imgComun,
+ $this->_imagen = new MLIB_Marco_ImagenAnimada( $imgComun,
$imgMouseOn,
$imgSelect,
$configuracion['directorios']['imagenes'],
function _cargarHijos($hijos)
{
if ($this->_tipoMenu == 'vertical'){
- $tmp = new MECON_Marco_MenuVertical($this->_configuracion);
+ $tmp = new MLIB_Marco_MenuVertical($this->_configuracion);
}
elseif ($this->_tipoMenu == 'horizontal') {
- $tmp = new MECON_Marco_MenuHorizontal($this->_configuracion);
+ $tmp = new MLIB_Marco_MenuHorizontal($this->_configuracion);
}
else {
- $tmp = new MECON_Marco_MenuOculto($this->_configuracion);
+ $tmp = new MLIB_Marco_MenuOculto($this->_configuracion);
}
foreach ($hijos as $hijo) {
$hijo['alt'] = @$hijo['alt'] ? $hijo['alt'] : $hijo['nombre'];
$sec = array ();
if ($this->verifSeccionSeleccionada($link_sel)) {
- $sec[] = $link_start.'<img src="/MECON/images/general_carpeta_f3" border="0">'.$link_end;
+ $sec[] = $link_start.'<img src="/MLIB/images/general_carpeta_f3" border="0">'.$link_end;
}
else {
- $sec[] = $link_start.'<img src="/MECON/images/general_carpeta" border="0">'.$link_end;
+ $sec[] = $link_start.'<img src="/MLIB/images/general_carpeta" border="0">'.$link_end;
}
$nombre = strstr($this->_nombre, '-');