Project

General

Profile

Bug #15904 ยป alt_doc.php.patch

Administrator Admin, 2006-03-27 16:16

View differences:

alt_doc.php 27 Mar 2006 14:12:07 -0000
// Register default language labels, if any:
$this->tceforms->registerDefaultLanguageData($table,$rec);
// Create form for the record (either specific list of fields or the whole record):
// Create form for the record (either specific list of fields or the whole record):
$panel = '';
if ($this->columnsOnly) {
$panel.= $this->tceforms->getListedFields($table,$rec,$this->columnsOnly);
if(is_array($this->columnsOnly)){
$panel.= $this->tceforms->getListedFields($table,$rec,$this->columnsOnly[$table]);
} else {
$panel.= $this->tceforms->getListedFields($table,$rec,$this->columnsOnly);
}
} else {
$panel.= $this->tceforms->getMainFields($table,$rec);
}
$panel = $this->tceforms->wrapTotal($panel,$rec,$table);
// Setting the pid value for new records:
    (1-1/1)