From: Leandro Lucarella Date: Fri, 9 Jan 2004 22:28:18 +0000 (+0000) Subject: Se corrige para que ande con el nuevo HTML_QuickForm. X-Git-Tag: svn_import~143 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/4fcad0c14521e44da7e20467bc8f9f62ec9321e8?ds=sidebyside Se corrige para que ande con el nuevo HTML_QuickForm. --- diff --git a/lib/MECON/HTML/QuickForm/mdate.php b/lib/MECON/HTML/QuickForm/mdate.php index 4ebf122..7117db2 100644 --- a/lib/MECON/HTML/QuickForm/mdate.php +++ b/lib/MECON/HTML/QuickForm/mdate.php @@ -47,7 +47,7 @@ class MECON_HTML_QuickForm_mdate extends HTML_QuickForm_date { * @return void */ function MECON_HTML_QuickForm_mdate($elementName=null, $elementLabel=null, $options=array(), $attributes=null) { - $this->_options = array ('es' => array ( + $this->_locales = array ('es' => array ( 'weekdays_short'=> array ('' => '--', 'Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb'), 'weekdays_long' => array ('' => '--', 'Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'), 'months_short' => array ('' => '--', 'Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'), @@ -58,7 +58,6 @@ class MECON_HTML_QuickForm_mdate extends HTML_QuickForm_date { 'Octubre', 'Noviembre', 'Diciembre') ) ); - parent::HTML_QuickForm_date($elementName, $elementLabel, array_merge(array('language'=>'es','format'=>'d F Y'), $options), $attributes);