<?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/HTML/Image.php';
+require_once 'MLIB/HTML/Image.php';
-define('MECON_MARCO_IMAGENANIMADA_DIR_GENERAL', '/MECON/images');
+define('MLIB_MARCO_IMAGENANIMADA_DIR_GENERAL', '/MLIB/images');
/**
* Clase para el manejo de la animacion de las imagenes. Utilizada
*
* @access public
*/
-class MECON_Marco_ImagenAnimada {
+class MLIB_Marco_ImagenAnimada {
/**
* Nombre del archivo imagen.
*
* @return void
* @access public
*/
- function MECON_Marco_ImagenAnimada($imagenComun, $imagenMouseOn = '',
+ function MLIB_Marco_ImagenAnimada($imagenComun, $imagenMouseOn = '',
$imagenSelect = '', $directorio = '', $nombre = '', $link = '',
$alt = '')
{
function toHtml()
{
$src = $this->getSeleccionada() ? $this->_imgSelect : $this->_imgComun;
- $img = new MECON_HTML_Image($src, $this->_alt, array('name' => $this->_nombre, 'border' => 0));
+ $img = new MLIB_HTML_Image($src, $this->_alt, array('name' => $this->_nombre, 'border' => 0));
$html = $img->toHtml();
if ($this->getHabilitada()) {
if ($this->getSeleccionada()) {
return "$directorio/$imagen";
}
else {
- return MECON_MARCO_IMAGENANIMADA_DIR_GENERAL . "/$imagen";
+ return MLIB_MARCO_IMAGENANIMADA_DIR_GENERAL . "/$imagen";
}
}
}