require_once('HTML/QuickForm/element.php');
require_once('HTML/QuickForm/radio.php');
-require_once('MECON/defaults.php');
-require_once 'MECON/HTML/Image.php';
+require_once('MLIB/defaults.php');
+require_once 'MLIB/HTML/Image.php';
/**
* Class to dynamically create HTML Select elements from a date
*
* @author Bertrand Mansion <bmansion@mamasam.com>
* @access public
*/
-class MECON_HTML_QuickForm_caritas extends HTML_QuickForm_element {
+class MLIB_HTML_QuickForm_caritas extends HTML_QuickForm_element {
// {{{ properties
/**
* @return void
*/
- function MECON_HTML_QuickForm_caritas($elementName=null, $elementLabel=null, $options=array(), $attributes=null) {
+ function MLIB_HTML_QuickForm_caritas($elementName=null, $elementLabel=null, $options=array(), $attributes=null) {
HTML_QuickForm_element::HTML_QuickForm_element($elementName, $elementLabel, $attributes);
$this->_persistantFreeze = true;
$this->_type = 'caritas';
function _createRadios() {
$this->caritas= array();
$elementName = $this->name;
- $dir = MECON_DIR_FS_IMG.'/caritas';
+ $dir = MLIB_DIR_FS_IMG.'/caritas';
$cant=5;
$i=1;
foreach ($this->listarArchivos($dir,'','.gif') as $nombre) {
$strHtml .= $element->toHtml();
}
}
- $imagen =& new MECON_HTML_Image(MECON_DIR_IMG."/caritas/$nombre");
+ $imagen =& new MLIB_HTML_Image(MLIB_DIR_IMG."/caritas/$nombre");
$strHtml .= ' ' . $imagen->toHtml() . ' ';
if (!($i++ % $this->_cols))
$strHtml .= '<br>';