[TYPO3-core] RFC: #9320: Bugfix for temporary Filemounts
Uschi Renziehausen
typo3news at otherone.de
Fri Sep 12 13:32:20 CEST 2008
Hi Steffen, hi Stan,
I just tried to apply the patch to revision 4099 of 4.2 and my tortoise
complains that the patch seems to be outdated for the following files:
class.browse_links.php
class.tx_rtehtmlarea_browse_links.php
class.tx_rtehtmlarea_select_image.php
Perhaps it needs to different patches for 4.2 and 4.3?
Kind regards and thanks for your work on this one, Uschi
Steffen Kamper wrote:
> Hi
>
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9320
>
> Branches: trunk, 4.2
>
> Description:
> This belongs to the element browser using temporary filemounts added with
> options.folderTree.altElementBrowserMountPoints
>
> The current situation has some bugs
>
> * the whole tree is set to "readonly" so user has no possibility to
> upload files to his regular filemount
> * mounts have wrong icon (ftp_user-icon) because the filemounts are
> initialized with wrong parameter
>
> The attached patch corrects this with
> * remove readonly-flag
> * adding a new mount-type "readonly" for temporary filemounts
> * add a new icon for readonly-filemount
> * use mount type while render subfolders and use readonly-icon for
> subfolders of temporary mount (see screenshot readonly.png)
> * in element browser determine the current mount and remove upload
> possibility if mount is readonly
>
> The patch works for all element browsers (normal, RTE, DAM)
>
> Additional Information:
> There are 2 new icons for the readonly-mounts (attached)
> * _icon_ftp_readonly.gif => typo3/gfx/i/_icon_ftp_readonly.gif
> * [t3skin]_icon_ftp_readonly.gif =>
> typo3/sysext/t3skin/icons/gfx/i/_icon_ftp_readonly.gif
>
> Thanks Stan as this patch is created by teamwork of Stan and me.
>
> vg Steffen
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
More information about the TYPO3-team-core
mailing list