From 4fcad0c14521e44da7e20467bc8f9f62ec9321e8 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 9 Jan 2004 22:28:18 +0000 Subject: [PATCH] Se corrige para que ande con el nuevo HTML_QuickForm. --- lib/MECON/HTML/QuickForm/mdate.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.43.0