X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/950719e82287bf487010a793a5e4e40ce374e21c..ba224fe1e6f6212651818538d7770690d821bfe0:/lib/MECON/HTML/QuickForm/Renderer/Tabla.php diff --git a/lib/MECON/HTML/QuickForm/Renderer/Tabla.php b/lib/MECON/HTML/QuickForm/Renderer/Tabla.php index 02f6759..4ef1fad 100644 --- a/lib/MECON/HTML/QuickForm/Renderer/Tabla.php +++ b/lib/MECON/HTML/QuickForm/Renderer/Tabla.php @@ -40,7 +40,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { * @var object Tabla * @access private */ - var $_tabla; + var $tabla; /** * HTML con los scripts para poner antes del formulario (tipicamente @@ -100,7 +100,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { $this->setTable($param); } else { - $this->_tabla =& new MECON_HTML_Tabla($param); + $this->tabla =& new MECON_HTML_Tabla($param); } } // end constructor @@ -113,7 +113,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { function toHtml() { return $this->_script . $this->_prepend . - $this->_tabla->toHtml() . + $this->tabla->toHtml() . $this->_append; } // end func toHtml @@ -128,8 +128,10 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { { # FIXME - deberia sacarlo del QuickForm #$this->_prepend = $form->getFormStart(); - $attrs = $form->getAttributesString(); +# $attrs = $form->getAttributesString(); + $attrs = $form->getAttributes(true); $this->_prepend = "\n