From: Martín Marrese Date: Mon, 11 Aug 2003 22:58:12 +0000 (+0000) Subject: Termine de armar el nuevo renderer X-Git-Tag: svn_import~317 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/d8d1303e69f2b5f4a495c128cc70ca0b78d7d3ce Termine de armar el nuevo renderer --- diff --git a/lib/MECON/HTML/QuickForm/Renderer/Tabla_Servicios.php b/lib/MECON/HTML/QuickForm/Renderer/Tabla_Servicios.php index c2b267e..c7ef4ce 100644 --- a/lib/MECON/HTML/QuickForm/Renderer/Tabla_Servicios.php +++ b/lib/MECON/HTML/QuickForm/Renderer/Tabla_Servicios.php @@ -165,7 +165,8 @@ class MECON_HTML_QuickForm_Renderer_Tabla_Servicios extends HTML_QuickForm_Rende $name = $header->getName(); $this->_tabla->addRow( array($header->toHtml()), - array('colspan' => 2, $name => true, 'align' => 'center') + array('colspan' => 2, $name => true, 'align' => 'left', + 'class' => 'titulo_form') ); } // end func renderHeader @@ -188,8 +189,10 @@ class MECON_HTML_QuickForm_Renderer_Tabla_Servicios extends HTML_QuickForm_Rende $element->toHtml() . ($error ? "
$error" : ''), ) ); - $this->_tabla->updateCellAttributes($id, 0, array('align' => 'left')); - $this->_tabla->updateCellAttributes($id, 1, array('align' => 'left')); + $this->_tabla->updateCellAttributes($id, 0, array('align' => 'left', + 'class' => 'txt1')); + $this->_tabla->updateCellAttributes($id, 1, array('align' => 'center', + 'class' => 'txt1')); } else { $this->_groupElements[] = ($element->getLabel() ? ($element->getLabel().' ') : '') . $element->toHtml(); } @@ -260,7 +263,10 @@ class MECON_HTML_QuickForm_Renderer_Tabla_Servicios extends HTML_QuickForm_Rende array($group->getLabel(), join($sep, $this->_groupElements)), array('valign' => 'middle', 'align' => 'left') ); - $this->_tabla->updateCellAttributes($id, 0, array('titulo' => true, 'align' => 'left')); + $this->_tabla->updateCellAttributes($id, 0, array('comun' => true, + 'align' => 'left', 'class' => 'txt1')); + $this->_tabla->updateCellAttributes($id, 1, array('comun' => true, + 'align' => 'center', 'class' => 'txt1')); } $this->_inGroup = false; } // end func finishGroup