Project

General

Profile

Bug #15392 » bug_2232_workspace.patch

Administrator Admin, 2006-01-18 19:28

View differences:

typo3_src-4.0.0-CVS/typo3/mod/user/ws/workspaceforms.php 2006-01-18 12:14:19.283945076 -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="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="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="returnUrl" value="index.php" />';
$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 .= '<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();
?>
?>
(3-3/4)