Bug #20706 » 11458.diff
typo3/sysext/version/cm1/index.php (working copy) | ||
---|---|---|
}
|
||
$onClick = 'var commentTxt=window.prompt("'.sprintf($label,$itemCount).'","");
|
||
if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand($issueCmd,$this->REQUEST_URI).'&generalComment="+escape(commentTxt);}';
|
||
if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand($issueCmd,$this->REQUEST_URI).'&generalComment="+encodeURI(commentTxt);}';
|
||
if (t3lib_div::_GP('sendToReview')) {
|
||
$onClick.= ' else {window.location.href = "'.$this->REQUEST_URI.'"}';
|
||
... | ... | |
if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand(
|
||
'&cmd['.$table.']['.$rec_off['uid'].'][version][action]=setStage'.
|
||
'&cmd['.$table.']['.$rec_off['uid'].'][version][stageId]=-1'
|
||
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+escape(commentTxt);}'.
|
||
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+encodeURI(commentTxt);}'.
|
||
' return false;';
|
||
// Reject:
|
||
$actionLinks.=
|
||
... | ... | |
if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand(
|
||
'&cmd['.$table.']['.$rec_off['uid'].'][version][action]=setStage'.
|
||
'&cmd['.$table.']['.$rec_off['uid'].'][version][stageId]='.$sId
|
||
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+escape(commentTxt);}'.
|
||
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+encodeURI(commentTxt);}'.
|
||
' return false;';
|
||
if ($rec_off['t3ver_stage']!=10) {
|
||
$actionLinks.=
|