if (is_array($workspaceRec)) {
- // Get the new stage title from workspaces library, if workspaces extension is installed
+ // Get the new stage title from workspaces library, if workspaces extension is installed
if (t3lib_extMgm::isLoaded('workspaces')) {
$stageService = t3lib_div::makeInstance('Tx_Workspaces_Service_Stages');
$newStage = $stageService->getStageTitle((int)$stageId);
if ($movePlhID) {
// Remove, if normal publishing:
if (!$swapIntoWS) {
- // For delete + completely delete!
+ // For delete + completely delete!
$tcemainObj->deleteEl($table, $movePlhID, TRUE, TRUE);
} else {
// Otherwise update the movePlaceholder:
// Checking for "new-placeholder" and if found, delete it (BUT FIRST after swapping!):
if (!$swapIntoWS && $t3ver_state['curVersion']>0) {
- // For delete + completely delete!
+ // For delete + completely delete!
$tcemainObj->deleteEl($table, $swapWith, TRUE, TRUE);
}
} else $tcemainObj->newlog('During Swapping: SQL errors happened: ' . implode('; ', $sqlErrors), 2);
*
* @param string $table Table name
* @param integer $id Record UID
- * @param boolean $flush If set, will completely delete element
+ * @param boolean $flush If set, will completely delete element
* @param t3lib_TCEmain $tcemainObj TCEmain object
* @return void
*/
),
'',
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
- );
+ );
}
return $buttons;
}
'</a>'.
'<a href="'.$this->doc->issueCommand('&cmd['.$this->table.']['.$this->uid.'][version][action]=swap&cmd['.$this->table.']['.$this->uid.'][version][swapWith]='.$row['uid'].'&cmd['.$this->table.']['.$this->uid.'][version][swapContent]=ALL').'">'.
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/insert4.gif','width="14" height="14"').' alt="" title="Publish page AND content! - AND ALL SUBPAGES!" />'.
- '</a>' : '') */ : t3lib_iconWorks::getSpriteIcon('status-status-current', array('title' => $GLOBALS['LANG']->getLL('currentOnlineVersion', TRUE)))) . '</td>
+ '</a>' : '')*/: t3lib_iconWorks::getSpriteIcon('status-status-current', array('title' => $GLOBALS['LANG']->getLL('currentOnlineVersion', TRUE)))) . '</td>
<td nowrap="nowrap">'.$adminLinks.'</td>
<td nowrap="nowrap">'.t3lib_BEfunc::getRecordTitle($this->table,$row,TRUE).'</td>
<td>'.$row['uid'].'</td>
$sId = 1;
$sLabel = $GLOBALS['LANG']->getLL('editing');
$color = '#666666';
- $label = $GLOBALS['LANG']->getLL('commentForReviewer');
+ $label = $GLOBALS['LANG']->getLL('commentForReviewer');
$titleAttrib = $GLOBALS['LANG']->getLL('sendToReview');
break;
case 1: