X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/834bee1cf2c5bd122b3e941c70b5c2f03ee80a27..e0bb2a45e21778743b6985197fe24ee0d2374d60:/lib/MLIB/HTML/QuickForm/caritas.php diff --git a/lib/MLIB/HTML/QuickForm/caritas.php b/lib/MLIB/HTML/QuickForm/caritas.php index 9308aba..bb2acc2 100644 --- a/lib/MLIB/HTML/QuickForm/caritas.php +++ b/lib/MLIB/HTML/QuickForm/caritas.php @@ -21,15 +21,15 @@ 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 * @access public */ -class MECON_HTML_QuickForm_caritas extends HTML_QuickForm_element { +class MLIB_HTML_QuickForm_caritas extends HTML_QuickForm_element { // {{{ properties /** @@ -92,7 +92,7 @@ class MECON_HTML_QuickForm_caritas extends HTML_QuickForm_element { * @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'; @@ -212,7 +212,7 @@ class MECON_HTML_QuickForm_caritas extends HTML_QuickForm_element { 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) { @@ -252,7 +252,7 @@ class MECON_HTML_QuickForm_caritas extends HTML_QuickForm_element { $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 .= '
';