[TYPO3-core] Backporting RTEimages copy fix
Michael Stucki
michael at typo3.org
Wed Aug 29 16:40:16 CEST 2007
Kasper Skårhøj wrote:
> Finally I committed my large bunch of changes to the core from June.
> This includes the features of the page tree you might remember
> (search/filter box and new division).
Below is a part of your changeset. However, it is not clear why you
commented out this code, as there is no comment after all.
Can you either remove the code completely, or add a comment with
further information?
Thanks!
- michael
Index: typo3/mod/user/ws/class.wslib_gui.php
===================================================================
--- typo3/mod/user/ws/class.wslib_gui.php (Revision 2449)
+++ typo3/mod/user/ws/class.wslib_gui.php (Revision 2461)
@@ -774,7 +853,7 @@
)).'">'.
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/insert1.gif','width="14" height="14"').' alt="" align="top" title="' . $LANG->getLL('img_title_publish') . '" />'.
'</a>';
- if ($GLOBALS['BE_USER']->workspaceSwapAccess() && (int)$rec_on['t3ver_state']!==1 && (int)$rec_off['t3ver_state']!==2) {
+ if ($GLOBALS['BE_USER']->workspaceSwapAccess()) { // && (int)$rec_on['t3ver_state']!==1 && (int)$rec_off['t3ver_state']!==2
$actionLinks.=
'<a href="'.htmlspecialchars($this->doc->issueCommand(
'&cmd['.$table.']['.$rec_on['uid'].'][version][action]=swap'.
Index: typo3/sysext/version/cm1/index.php
===================================================================
--- typo3/sysext/version/cm1/index.php (Revision 2449)
+++ typo3/sysext/version/cm1/index.php (Revision 2461)
@@ -1621,7 +1625,7 @@
)).'">'.
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/insert1.gif','width="14" height="14"').' alt="" align="top" title="Publish" />'.
'</a>';
- if ($GLOBALS['BE_USER']->workspaceSwapAccess() && (int)$rec_on['t3ver_state']!==1 && (int)$rec_off['t3ver_state']!==2) {
+ if ($GLOBALS['BE_USER']->workspaceSwapAccess()) { // && (int)$rec_on['t3ver_state']!==1 && (int)$rec_off['t3ver_state']!==2
$actionLinks.=
'<a href="'.htmlspecialchars($this->doc->issueCommand(
'&cmd['.$table.']['.$rec_on['uid'].'][version][action]=swap'.
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list