X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/e7b590cdbf44f5e9c8dab58f13b45b685c211a30..83f5ca1886eca8af58874f3a9967ab1d5dbf5b18:/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 2d804c0..6b96831 100644 --- a/lib/MECON/HTML/QuickForm/Renderer/Tabla.php +++ b/lib/MECON/HTML/QuickForm/Renderer/Tabla.php @@ -100,7 +100,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { $this->setTable($param); } else { - $this->_tabla =& new Tabla($param); + $this->_tabla =& new MECON_HTML_Tabla($param); } } // end constructor @@ -129,7 +129,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { # FIXME - deberia sacarlo del QuickForm #$this->_prepend = $form->getFormStart(); $attrs = $form->getAttributesString(); - $this->_prepend = "\n\n"; + $this->_prepend = "\n\n"; } // end func startForm /** @@ -156,7 +156,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { $this->_script = strval($form->getValidationScript()); # FIXME - deberia sacarlo del QuickForm #$this->_append = $form->getFormEnd(); - $this->_append = "\n\n"; + $this->_append = "\n\n"; } // end func finishForm /** @@ -190,8 +190,8 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { if (!$this->_inGroup) { $id = $this->_tabla->addRow( array( - $element->getLabel() . ($required ? '*' : ''), - $element->toHtml() . ($error ? "
$error" : ''), + $element->getLabel() . ($required ? '*' : ''), + $element->toHtml() . ($error ? "
$error" : ''), ) ); $this->_tabla->updateCellAttributes($id, 0, array('titulo' => true, 'align' => 'left'));