Added feature #16170: Increase DB-fields spaceBefore and spaceAfter (tt_content)...
authorErnesto Baschny <ernst@cron-it.de>
Mon, 15 Nov 2010 10:39:19 +0000 (10:39 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Mon, 15 Nov 2010 10:39:19 +0000 (10:39 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9384 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/ext_tables.sql
typo3/sysext/cms/tbl_tt_content.php

index 9774db9..6273865 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-15  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Added feature #16170: Increase DB-fields spaceBefore and spaceAfter (tt_content) (Thanks to Henrik Ziegenhain)
+
 2010-11-14  Steffen Kamper  <steffen@typo3.org>
 
        * Follow-up to #16315: Wrong reference to unzip class
index f7151d2..254ac91 100755 (executable)
@@ -388,8 +388,8 @@ CREATE TABLE tt_content (
   endtime int(11) unsigned DEFAULT '0' NOT NULL,
   colPos tinyint(3) unsigned DEFAULT '0' NOT NULL,
   subheader varchar(255) DEFAULT '' NOT NULL,
-  spaceBefore tinyint(4) unsigned DEFAULT '0' NOT NULL,
-  spaceAfter tinyint(4) unsigned DEFAULT '0' NOT NULL,
+  spaceBefore smallint(5) unsigned DEFAULT '0' NOT NULL,
+  spaceAfter smallint(5) unsigned DEFAULT '0' NOT NULL,
   fe_group varchar(100) DEFAULT '0' NOT NULL,
   header_link varchar(255) DEFAULT '' NOT NULL,
   imagecaption_position varchar(6) DEFAULT '' NOT NULL,
index 78803b3..5de2bb3 100755 (executable)
@@ -1461,8 +1461,8 @@ $TCA['tt_content'] = array(
                        'label' => 'LLL:EXT:cms/locallang_ttc.xml:spaceBefore',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '3',
-                               'max' => '3',
+                               'size' => '5',
+                               'max' => '5',
                                'eval' => 'int',
                                'checkbox' => '0',
                                'range' => array(
@@ -1476,8 +1476,8 @@ $TCA['tt_content'] = array(
                        'label' => 'LLL:EXT:cms/locallang_ttc.xml:spaceAfter',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '3',
-                               'max' => '3',
+                               'size' => '5',
+                               'max' => '5',
                                'eval' => 'int',
                                'checkbox' => '0',
                                'range' => array(