if (isset($attrs['width'])) {
$this->_attrs['width'] = $attrs['width'];
}
+ if (isset($attrs['align'])) {
+ $this->_attrs['align'] = $attrs['align'];
+ }
if (isset($attrs['bgcolor'])) {
$this->_attrs['bgcolor'] = $attrs['bgcolor'];
}
*/
function toHtml($simple = 0)
{
+
// Agregar la tabla de fondo.
if ($simple) {
$result = parent::toHtml();
} else {
$contenedora = $this->_conf['atributos']['tabla_contenedora'];
$contenedora['width'] = $this->getAttribute('width');
+ $contenedora['align'] = $this->getAttribute('align');
$this->updateAttributes(array('width' => '100%'));
$tabla_externa = new HTML_Table($contenedora);
$tabla_externa->addRow(array(parent::toHtml()),