[TASK] sys_file/sys_file_reference override strategy 31/21931/9
authorAndreas Wolf <andreas.wolf@typo3.org>
Fri, 5 Jul 2013 13:15:56 +0000 (15:15 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 28 Aug 2013 12:24:35 +0000 (14:24 +0200)
commitc6d17b273d5031aab5892181593b74b02ae83ab3
treebd6a555ccd552fada80fd462bfbaabf35f7523d4
parent55b8107f6e1b0ca1ce69c847c446bd07fe060bd1
[TASK] sys_file/sys_file_reference override strategy

Until now, the sys_file_reference records use the regular "null value"
checkbox to switch between the value from sys_file and a custom value
the user can supply. This is however confusing for users, as there is no
explanation what the checkbox really does and also the placeholder text
is not removed when checking the checkbox (but an empty string is stored
in the database and thus used for output afterwards).

This commit changes the appearance to have a checkbox on top and toggle
between a classical read-only field and a real input field.

Change-Id: I2370b17c2cdf475aa6742cbca7cd12b6c8558130
Resolves: #49685
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21931
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/lang/locallang_core.xlf