[TYPO3-core] RFC: #9320: Bugfix for temporary Filemounts
Steffen Kamper
info at sk-typo3.de
Wed Sep 10 16:35:30 CEST 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _icon_ftp_readonly.gif
Type: image/gif
Size: 911 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080910/d89ff6a6/attachment-0002.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: [t3skin]_icon_ftp_readonly.gif
Type: image/gif
Size: 595 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080910/d89ff6a6/attachment-0003.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readonly.png
Type: image/png
Size: 3395 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080910/d89ff6a6/attachment-0001.png
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: browse_links_readonly_v5.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080910/d89ff6a6/attachment-0001.txt
More information about the TYPO3-team-core
mailing list