Project

General

Profile

Bug #15392 » bug_2232_workspace_1.patch

Administrator Admin, 2006-01-18 20:12

View differences:

typo3_src-4.0.0-CVS/typo3/mod/user/ws/workspaceforms.php 2006-01-18 13:02:33.676709392 -0600
$form .= $this->tceforms->getMainFields($table,$rec);
$form .= '<input type="hidden" name="data['.$table.']['.$rec['uid'].'][pid]" value="'.$rec['pid'].'" />';
$form .= '<input type="hidden" name="submit_x" value="1" />';
$form .= '<input type="hidden" name="returnUrl" value="index.php" />';
$form .= '<input type="hidden" name="action" value="edit" />';
$form .= '<input type="hidden" name="closeDoc" value="0" />';
$form .= '<input type="hidden" name="doSave" value="0" />';
$form .= '<input type="hidden" name="_serialNumber" value="'.md5(microtime()).'" />';
$form .= '<input type="hidden" name="_disableRTE" value="'.$this->tceforms->disableRTE.'" />';
$form .= '<input type="hidden" name="workspaceId" value="' . $this->workspaceId . '" />';
$form .= '<input type="hidden" name="wkspId" value="' . $this->workspaceId . '" />';
$form = $this->tceforms->wrapTotal($form, $rec, $table);
$buttons = $this->createButtons() . $this->doc->spacer(5);
......
$form .= $this->tceforms->getMainFields($table,$rec);
// $form .= $this->tceforms->getListedFields($table,$rec,implode(',', $fields));
$form .= '<input type="hidden" name="data['.$table.']['.$rec['uid'].'][pid]" value="'.$rec['pid'].'" />';
$form .= '<input type="hidden" name="submit_x" value="1" />';
$form .= '<input type="hidden" name="action" value="new" />';
$form .= '<input type="hidden" name="closeDoc" value="0" />';
$form .= '<input type="hidden" name="doSave" value="0" />';
$form .= '<input type="hidden" name="_serialNumber" value="'.md5(microtime()).'" />';
$form .= '<input type="hidden" name="_disableRTE" value="'.$this->tceforms->disableRTE.'" />';
$form .= '<input type="hidden" name="submit" value="1" />';
$form = $this->tceforms->wrapTotal($form, $rec, $table);
$buttons = $this->createButtons() . $this->doc->spacer(5);
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
(4-4/4)