[TASK] Remove content element "script"
authorGeorg Ringer <georg.ringer@gmail.com>
Fri, 21 Sep 2012 06:37:26 +0000 (08:37 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sat, 22 Sep 2012 17:32:13 +0000 (19:32 +0200)
Content element script is non working and not used, remove it

Change-Id: Iaa52523df4cd18a9768cda9433179936394739f6
Resolves: #41141
Releases: 6.0
Reviewed-on: http://review.typo3.org/14802
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
15 files changed:
typo3/gfx/i/tt_content_script.gif [deleted file]
typo3/gfx/i/tt_content_script__f.gif [deleted file]
typo3/gfx/i/tt_content_script__h.gif [deleted file]
typo3/gfx/i/tt_content_script__ht.gif [deleted file]
typo3/gfx/i/tt_content_script__hu.gif [deleted file]
typo3/gfx/i/tt_content_script__t.gif [deleted file]
typo3/gfx/i/tt_content_script__u.gif [deleted file]
typo3/gfx/i/tt_content_script__x.gif [deleted file]
typo3/sysext/cms/tbl_tt_content.php
typo3/sysext/context_help/locallang_csh_ttcontent.xlf
typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
typo3/sysext/css_styled_content/pageTSconfig.txt
typo3/sysext/css_styled_content/static/constants.txt
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/t3editor/res/jslib/parse_typoscript/tokenizetyposcript.js

diff --git a/typo3/gfx/i/tt_content_script.gif b/typo3/gfx/i/tt_content_script.gif
deleted file mode 100755 (executable)
index ff51f64..0000000
Binary files a/typo3/gfx/i/tt_content_script.gif and /dev/null differ
diff --git a/typo3/gfx/i/tt_content_script__f.gif b/typo3/gfx/i/tt_content_script__f.gif
deleted file mode 100644 (file)
index 6312aa3..0000000
Binary files a/typo3/gfx/i/tt_content_script__f.gif and /dev/null differ
diff --git a/typo3/gfx/i/tt_content_script__h.gif b/typo3/gfx/i/tt_content_script__h.gif
deleted file mode 100644 (file)
index 20acffd..0000000
Binary files a/typo3/gfx/i/tt_content_script__h.gif and /dev/null differ
diff --git a/typo3/gfx/i/tt_content_script__ht.gif b/typo3/gfx/i/tt_content_script__ht.gif
deleted file mode 100644 (file)
index 94f481b..0000000
Binary files a/typo3/gfx/i/tt_content_script__ht.gif and /dev/null differ
diff --git a/typo3/gfx/i/tt_content_script__hu.gif b/typo3/gfx/i/tt_content_script__hu.gif
deleted file mode 100644 (file)
index 3db43f5..0000000
Binary files a/typo3/gfx/i/tt_content_script__hu.gif and /dev/null differ
diff --git a/typo3/gfx/i/tt_content_script__t.gif b/typo3/gfx/i/tt_content_script__t.gif
deleted file mode 100644 (file)
index cf7bf7b..0000000
Binary files a/typo3/gfx/i/tt_content_script__t.gif and /dev/null differ
diff --git a/typo3/gfx/i/tt_content_script__u.gif b/typo3/gfx/i/tt_content_script__u.gif
deleted file mode 100644 (file)
index ee9bdc8..0000000
Binary files a/typo3/gfx/i/tt_content_script__u.gif and /dev/null differ
diff --git a/typo3/gfx/i/tt_content_script__x.gif b/typo3/gfx/i/tt_content_script__x.gif
deleted file mode 100644 (file)
index 86e65a7..0000000
Binary files a/typo3/gfx/i/tt_content_script__x.gif and /dev/null differ
index 8e26bc6..7775577 100755 (executable)
@@ -139,11 +139,6 @@ $TCA['tt_content'] = array(
                                                'i/tt_content_list.gif'
                                        ),
                                        array(
                                                'i/tt_content_list.gif'
                                        ),
                                        array(
-                                               'LLL:EXT:cms/locallang_ttc.xml:CType.I.15',
-                                               'script',
-                                               'i/tt_content_script.gif'
-                                       ),
-                                       array(
                                                'LLL:EXT:cms/locallang_ttc.xml:CType.I.16',
                                                'div',
                                                'i/tt_content_div.gif'
                                                'LLL:EXT:cms/locallang_ttc.xml:CType.I.16',
                                                'div',
                                                'i/tt_content_div.gif'
@@ -1888,21 +1883,6 @@ $TCA['tt_content'] = array(
                                        bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.media_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
                                --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
                ),
                                        bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.media_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
                                --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
                ),
-               'script' => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
-                                       header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.script_formlabel,
-                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.script,
-                                       select_key;LLL:EXT:cms/locallang_ttc.xml:select_key.ALT.script_formlabel,
-                                       pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.script_formlabel,
-                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.script_formlabel;;nowrap,
-                                       imagecaption;LLL:EXT:cms/locallang_ttc.xml:imagecaption.ALT.script_formlabel,
-                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
-                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
-                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
-                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
-                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
-               ),
                'menu' => array(
                        'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
                                        --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
                'menu' => array(
                        'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
                                        --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
@@ -2172,4 +2152,4 @@ if ((!isset($GLOBALS['TYPO3_CONF_VARS']['INSTALL']['wizardDone']['Tx_Install_Upd
                'minitems' => '0'
        );
 }
                'minitems' => '0'
        );
 }
-?>
\ No newline at end of file
+?>
index 5debabf..8c83ed7 100644 (file)
@@ -79,9 +79,6 @@ This is a placeholder for other records. In other words, by this element you can
 &lt;strong&gt;Insert plugin&lt;/strong&gt;
 This will allow you to insert a forum, guestbook, list of addresses, shopping basket etc. The various features are available &lt;em&gt;only&lt;/em&gt; if they are configured correctly in the template of your website. So before you use it, make sure this is the case.
 
 &lt;strong&gt;Insert plugin&lt;/strong&gt;
 This will allow you to insert a forum, guestbook, list of addresses, shopping basket etc. The various features are available &lt;em&gt;only&lt;/em&gt; if they are configured correctly in the template of your website. So before you use it, make sure this is the case.
 
-&lt;strong&gt;Script&lt;/strong&gt;
-This is reserved for custom purposes where the template developer can allow you to insert specialized page content by this element type along with a code to identify which special content you want.
-
 &lt;strong&gt;HTML&lt;/strong&gt;
 This is plain HTML content. Everything put here will be displayed directly on the page without any preprocessing.</source>
                        </trans-unit>
 &lt;strong&gt;HTML&lt;/strong&gt;
 This is plain HTML content. Everything put here will be displayed directly on the page without any preprocessing.</source>
                        </trans-unit>
index c508147..ef41d5f 100644 (file)
@@ -95,7 +95,6 @@ class ExtendedTemplateService extends \TYPO3\CMS\Core\TypoScript\TemplateService
                'cmenu' => array('Content: \'Menu/Sitemap\'', 'mm'),
                'cshortcut' => array('Content: \'Insert records\'', 'mn'),
                'clist' => array('Content: \'List of records\'', 'mo'),
                'cmenu' => array('Content: \'Menu/Sitemap\'', 'mm'),
                'cshortcut' => array('Content: \'Insert records\'', 'mn'),
                'clist' => array('Content: \'List of records\'', 'mo'),
-               'cscript' => array('Content: \'Script\'', 'mp'),
                'chtml' => array('Content: \'HTML\'', 'mq')
        );
 
                'chtml' => array('Content: \'HTML\'', 'mq')
        );
 
@@ -1593,4 +1592,4 @@ class ExtendedTemplateService extends \TYPO3\CMS\Core\TypoScript\TemplateService
 }
 
 
 }
 
 
-?>
\ No newline at end of file
+?>
index 35c1efb..d25d9da 100755 (executable)
@@ -13,7 +13,7 @@ TCEFORM.tt_content {
        text_size.disabled=1
        image_frames.disabled = 1
 
        text_size.disabled=1
        image_frames.disabled = 1
 
-       CType.removeItems = rte,script,splash,swfobject,qtobject,multimedia
+       CType.removeItems = rte,splash,swfobject,qtobject,multimedia
 }
 
 
 }
 
 
index 0a9bdff..9e057e5 100644 (file)
@@ -2082,18 +2082,6 @@ tt_content.list {
 
 
 # ****************
 
 
 # ****************
-# CType: script
-# ****************
-# OBSOLETE! Please make extensions instead. The "script" content element was meant for these custom purposes in the past. Today extensions will do the job better.
-tt_content.script = TEXT
-tt_content.script {
-       value =
-
-       prefixComment = 2 | Script element (Deprecated)
-}
-
-
-# ****************
 # CType: div
 # ****************
 tt_content.div = TEXT
 # CType: div
 # ****************
 tt_content.div = TEXT
index b9c2de5..0882a27 100644 (file)
@@ -1053,7 +1053,6 @@ var typoscriptWords = {
        'required': 'keyword3',
        'RO': 'keyword3',
        'rootline': 'keyword3',
        'required': 'keyword3',
        'RO': 'keyword3',
        'rootline': 'keyword3',
-       'script': 'keyword3',
        'search': 'keyword3',
        'shortcut': 'keyword3',
        'sitemap': 'keyword3',
        'search': 'keyword3',
        'shortcut': 'keyword3',
        'sitemap': 'keyword3',