[TYPO3-core] Backporting RTEimages copy fix
Kasper Skårhøj
kasper2007 at typo3.com
Wed Aug 29 18:02:02 CEST 2007
Will do.
Was removed since swapping is now supported for new/deleted versions.
- kasper
On Aug 29, 2007, at 16:40 , Michael Stucki wrote:
> 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/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
- kasper
----------------------------
NOTICE: NEW EMAIL for 2007: kasper2007 at typo3.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070829/d669e089/attachment.htm
More information about the TYPO3-team-core
mailing list