[BUGFIX] starttime / endtime l10n_mode exclude in core tables
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 1 Aug 2011 16:46:48 +0000 (18:46 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sat, 20 Aug 2011 06:36:57 +0000 (08:36 +0200)
starttime/endtime can be set different in localisations
but are (usually) not respected. This patch modifies
the behaviour inside localisations to show a readonly
value of the original starttime/endtime-values.

Change-Id: If7e32b0c8a628698115c60ec570c2526e5bb3546
Resolves: #24211
Reviewed-on: http://review.typo3.org/3984
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/cms/tbl_tt_content.php

index 1d46e63..37c677b 100755 (executable)
@@ -187,6 +187,8 @@ $TCA['tt_content'] = array(
                                'eval' => 'datetime',
                                'default' => '0',
                        ),
+                       'l10n_mode' => 'exclude',
+                       'l10n_display' => 'defaultAsReadonly',
                ),
                'endtime' => array(
                        'exclude' => 1,
@@ -201,6 +203,8 @@ $TCA['tt_content'] = array(
                                        'upper' => mktime(0,0,0,12,31,2020),
                                ),
                        ),
+                       'l10n_mode' => 'exclude',
+                       'l10n_display' => 'defaultAsReadonly',
                ),
                'fe_group' => array(
                        'exclude' => 1,
@@ -2052,4 +2056,4 @@ $TCA['tt_content'] = array(
 );
 
 
-?>
+?>
\ No newline at end of file