X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/58890a698f770e368aedf137df241bc01041e62e..5e37cbaf8433bb27744c2509d9caca702750f748:/lib/MECON/HTML/QuickForm/Renderer/Tabla_Servicios.php 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