Project

General

Profile

Bug #12286 » 12286v2.patch

Tolleiv Nietsch, 2011-01-18 01:01

View differences:

ext_tables.php (working copy)
$icons = array(
'sendtonextstage' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtonextstage.png',
'sendtoprevstage' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtoprevstage.png',
'generatepreviewlink' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/generate-ws-preview-link.png',
);
t3lib_SpriteManager::addSingleIcons($icons, $_EXTKEY);
t3lib_extMgm::addLLrefForTCAdescr('sys_workspace_stage','EXT:workspaces/Resources/Private/Language/locallang_csh_sysws_stage.xml');
Resources/Private/Layouts/module.html (working copy)
<div id="typo3-docheader-row1">
<div class="buttonsleft">
<f:if condition="{pageUid} > 0">
<a href="#" onclick="TYPO3.Workspaces.Actions.generateWorkspacePreviewLink();return false;" title="Generate page preview" id="goPreviewLinkButton"><span class="t3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-right">&nbsp;</span>Generate Workspace Preview Link</a>
<a href="#" onclick="TYPO3.Workspaces.Actions.generateWorkspacePreviewLink();return false;" title="Generate page preview" id="goPreviewLinkButton"><span class="t3-icon t3-icon-extensions t3-icon-extensions-workspaces t3-icon-workspaces-generatepreviewlink">&nbsp;</span>Generate Workspace Preview Link</a>
</f:if>
</div>
<div class="buttonsright"><f:be.buttons.shortcut /></div>
(3-3/5)