X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/c2de4e857201181b73e0da3064f53ff5cc8ce2f0..5bf7798b127ec795a3f627149b3b9b612596874b:/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 6b96831..02f6759 100644 --- a/lib/MECON/HTML/QuickForm/Renderer/Tabla.php +++ b/lib/MECON/HTML/QuickForm/Renderer/Tabla.php @@ -146,7 +146,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { if (!empty($form->_required) && !$form->_freezeAll) { $id = $this->_tabla->addRow( array($form->getRequiredNote()), - array('colspan' => 2, 'align' => 'center', 'cabecera' => true) + array('colspan' => 2, 'cabecera' => true) ); //$this->_tabla->updateCellAttributes($id, array('colspan' => 2)); } @@ -171,7 +171,7 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { $name = $header->getName(); $this->_tabla->addRow( array($header->toHtml()), - array('colspan' => 2, $name => true, 'align' => 'center') + array('colspan' => 2, $name => true) ); } // end func renderHeader @@ -312,6 +312,10 @@ class MECON_HTML_QuickForm_Renderer_Tabla extends HTML_QuickForm_Renderer { $this->_tabla =& $param; } + function getCSS() { + return $this->_tabla->getCSS(); + } + } // end class HTML_QuickForm_Renderer_Default ?>