Fixed bug #11275: Bring back the divider CE
authorSteffen Kamper <info@sk-typo3.de>
Mon, 15 Jun 2009 10:40:19 +0000 (10:40 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 15 Jun 2009 10:40:19 +0000 (10:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5593 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/gfx/c_wiz/div.gif [new file with mode: 0644]
typo3/sysext/cms/ext_localconf.php
typo3/sysext/cms/layout/locallang_db_new_content_el.xml
typo3/sysext/css_styled_content/pageTSconfig.txt
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/t3skin/icons/gfx/c_wiz/div.gif [new file with mode: 0644]

index d01a549..425eb87 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-06-15  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #11275: Bring back the divider CE
        * Fixed bug #11052: Show Warning if memcache is configured but not installed / working on the server
 
 2009-06-14  Steffen Kamper  <info@sk-typo3.de>
diff --git a/typo3/gfx/c_wiz/div.gif b/typo3/gfx/c_wiz/div.gif
new file mode 100644 (file)
index 0000000..4181ef5
Binary files /dev/null and b/typo3/gfx/c_wiz/div.gif differ
index 6c96008..c99d638 100755 (executable)
@@ -92,9 +92,17 @@ mod.wizards.newContentElement.wizardItems {
                                CType = html
                        }
                }
+               div {
+                       icon = gfx/c_wiz/div.gif
+                       title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_title
+                       description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_description
+                       tt_content_defValues {
+                               CType = div
+                       }
+               }
 
        }
-       special.show = uploads,multimedia,menu,html
+       special.show = uploads,multimedia,menu,html,div
 
        forms.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms
        forms.elements {
index 6b7703c..da51984 100755 (executable)
@@ -28,6 +28,8 @@
                        <label index="special_sitemap_description">Creates a sitemap of the website.</label>
                        <label index="special_plainHTML_title">Plain HTML</label>
                        <label index="special_plainHTML_description">With this element you can insert raw HTML code on the page.</label>
+                       <label index="special_divider_title">Divider</label>
+                       <label index="special_divider_description">This element inserts a visual divider, which is by default a horizontal line.</label>
                        <label index="forms">Form elements</label>
                        <label index="forms_mail_title">Mail form</label>
                        <label index="forms_mail_description">A mail form allowing website users to submit responses.</label>
index b1067f4..fb3b813 100755 (executable)
@@ -15,7 +15,7 @@ TCEFORM.tt_content {
        text_size.disabled=1
        image_frames.disabled = 1
 
-       CType.removeItems = div,rte,script,splash
+       CType.removeItems = rte,script,splash
 }
 
 
index 97cd218..741b201 100644 (file)
@@ -1386,7 +1386,8 @@ tt_content.script {
 # ****************
 tt_content.div = TEXT
 tt_content.div {
-       value =
+       value = <hr />
+       wrap = <div class="divider">|</div>
        prefixComment = 2 | Div element
 }
 
diff --git a/typo3/sysext/t3skin/icons/gfx/c_wiz/div.gif b/typo3/sysext/t3skin/icons/gfx/c_wiz/div.gif
new file mode 100644 (file)
index 0000000..8d60ff2
Binary files /dev/null and b/typo3/sysext/t3skin/icons/gfx/c_wiz/div.gif differ