From 6c30194f66f3b8eca602487b88e77fcf91623b29 Mon Sep 17 00:00:00 2001 From: Gonzalo Merayo Date: Thu, 3 Jul 2003 19:27:54 +0000 Subject: [PATCH] =?utf8?q?Se=20cambia=20el=20constructor=20para=20sobreesc?= =?utf8?q?ribir=20primero=20las=20opciones=20usadas=20m=C3=A1s=20frecuente?= =?utf8?q?mente.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/MECON/HTML/QuickForm.php | 2 +- test/HTML/prueba_html_quickform_renderer_tabla.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MECON/HTML/QuickForm.php b/lib/MECON/HTML/QuickForm.php index 1c7763d..e8019b5 100644 --- a/lib/MECON/HTML/QuickForm.php +++ b/lib/MECON/HTML/QuickForm.php @@ -35,7 +35,7 @@ require_once 'MECON/HTML/QuickForm/Renderer/Tabla.php'; */ class MECON_HTML_QuickForm extends HTML_QuickForm { var $_rendererOpts = array(); - function MECON_HTML_QuickForm($formName='', $method='post', $action='', $target='_self', $attributes=null) + function MECON_HTML_QuickForm($action='', $formName='', $target='_self', $method='post', $attributes=null) { parent::HTML_QuickForm($formName, $method, $action, $target, $attributes); $this->registerElementType('mdate', 'MECON/HTML/QuickForm/mdate.php', 'HTML_QuickForm_mdate'); diff --git a/test/HTML/prueba_html_quickform_renderer_tabla.php b/test/HTML/prueba_html_quickform_renderer_tabla.php index cc8ad08..3b81655 100644 --- a/test/HTML/prueba_html_quickform_renderer_tabla.php +++ b/test/HTML/prueba_html_quickform_renderer_tabla.php @@ -8,7 +8,7 @@ require_once 'MECON/HTML/QuickForm.php'; - $form = new MECON_HTML_QuickForm('test'); + $form = new MECON_HTML_QuickForm(); //Agrega los elementos comunes a todas las opciones $form->addElement('header','cabecera', 'Título del formulario'); -- 2.43.0