[BUGFIX] Path of a storage must be required 83/36483/2
authorAltan Tosun <a.tosun@gmx.de>
Fri, 30 Jan 2015 22:12:08 +0000 (23:12 +0100)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Fri, 30 Jan 2015 23:24:48 +0000 (00:24 +0100)
Remove the default 'fileadmin/' and introduce a placeholder
instead.
The field is required now.

Resolves: #64650
Releases: master
Change-Id: I517fc816f4c84be8592199f3341f11a3395b8079
Reviewed-on: http://review.typo3.org/36483
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
typo3/sysext/core/Configuration/Resource/Driver/LocalDriverFlexForm.xml
typo3/sysext/lang/locallang_mod_file_list.xlf

index 6f9775a..4616ef6 100644 (file)
@@ -11,7 +11,8 @@
                                        <label>LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_basePath</label>
                                        <config>
                                                <type>input</type>
-                                               <default>fileadmin/</default>
+                                               <placeholder>LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_basePath_placeholder</placeholder>
+                                               <eval>required</eval>
                                                <size>30</size>
                                        </config>
                                </TCEforms>
index bb385a4..737fb76 100644 (file)
@@ -87,6 +87,9 @@
                        <trans-unit id="localDriverFlexform_basePath" xml:space="preserve">
                                <source>Base path:</source>
                        </trans-unit>
+                       <trans-unit id="localDriverFlexform_basePath_placeholder" xml:space="preserve">
+                               <source>Add storage path here. For example: myPath/folder/</source>
+                       </trans-unit>
                        <trans-unit id="localDriverFlexform_pathType" xml:space="preserve">
                                <source>Path type:</source>
                        </trans-unit>