X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/3d12454faf6771c71ac91dfd7f6a21f00f4d69c2..7eddd945e06d40240c52993be71ad52b9212f79e:/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 79c3f14..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