$this->setTable($param);
}
else {
- $this->_tabla =& new Tabla($param);
+ $this->_tabla =& new MECON_HTML_Tabla($param);
}
} // end constructor
// add a required note, if one is needed
if (!empty($form->_required) && !$form->_freezeAll) {
$id = $this->_tabla->addRow(
- array($form->getRequiredNote()),
- array('colspan' => 2, 'align' => 'center', 'cabecera' => true)
+ array('<font size="-2">'.$form->getRequiredNote().'</font>'),
+ array('colspan' => 2, 'cabecera' => true)
);
//$this->_tabla->updateCellAttributes($id, array('colspan' => 2));
}
$name = $header->getName();
$this->_tabla->addRow(
array($header->toHtml()),
- array('colspan' => 2, $name => true, 'align' => 'center')
+ array('colspan' => 2, $name => true)
);
} // end func renderHeader
$this->_tabla =& $param;
}
+ function getCSS() {
+ return $this->_tabla->getCSS();
+ }
+
} // end class HTML_QuickForm_Renderer_Default
?>