Added feature #11316: Add a "No Frame" option [css styled content]
authorFrancois Suter <francois.suter@typo3.org>
Tue, 6 Apr 2010 18:43:47 +0000 (18:43 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Tue, 6 Apr 2010 18:43:47 +0000 (18:43 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7250 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/css_styled_content/ext_tables.php
typo3/sysext/css_styled_content/locallang_db.xml
typo3/sysext/css_styled_content/static/setup.txt

index da90c67..335a069 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-06  Francois Suter  <francois@typo3.org>
+
+       * Added feature #11316: Add a "No Frame" option [css styled content] (thanks to Susanne Moog)
+
 2010-04-06  Dmitry Dulepov  <dmitry.dulepov@gmail.com>
 
        * Fixed bug #13977: Improve OpenID association handling
index f9492c8..d9fcef3 100755 (executable)
@@ -13,4 +13,7 @@ t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v3.8/', 'CSS Styled Content TYPO3
 t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v3.9/', 'CSS Styled Content TYPO3 v3.9');
 t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v4.2/', 'CSS Styled Content TYPO3 v4.2');
 
+$TCA['tt_content']['columns']['section_frame']['config']['items'][0] = array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.0', '0');
+$TCA['tt_content']['columns']['section_frame']['config']['items'][9] = array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.9', '66');
+
 ?>
\ No newline at end of file
index ac459ab..c9d479f 100644 (file)
@@ -27,6 +27,8 @@
                        <label index="tt_content.tx_cssstyledcontent_tableparsing_delimiter_colon">:</label>
                        <label index="tt_content.tx_cssstyledcontent_tableparsing_delimiter_comma">,</label>
                        <label index="tt_content.tx_cssstyledcontent_tableparsing_delimiter_tab">&lt;tabulator&gt;</label>
+                       <label index="tt_content.tx_cssstyledcontent_section_frame.I.9">No Frame</label>
+                       <label index="tt_content.tx_cssstyledcontent_section_frame.I.0">Default Frame</label>
                </languageKey>
        </data>
 </T3locallang>
index 9ab8bbf..736cb58 100644 (file)
@@ -316,7 +316,7 @@ tt_content.stdWrap {
                        30 = TEXT
                        30.value = >|</div>
                }
-
+               
                1 =< tt_content.stdWrap.innerWrap.cObject.default
                1.15.value = csc-frame csc-frame-invisible
 
@@ -340,6 +340,54 @@ tt_content.stdWrap {
 
                21 =< tt_content.stdWrap.innerWrap.cObject.default
                21.15.value = csc-frame csc-frame-frame2
+               
+               66 = COA
+               66 {
+                       10 = TEXT
+                       10 {
+                               value = <a id="c{field:uid}"></a>
+                               insertData = 1
+                       }
+                       
+                       20 = COA
+                       20 {
+                               10 = TEXT
+                               10 {
+                                       value = {$content.spaceBefore}
+                                       wrap = |+
+                                       if.isTrue = {$content.spaceBefore}
+                               }
+
+                               20 = TEXT
+                               20 {
+                                       field = spaceBefore
+                               }
+
+                               stdWrap {
+                                       prioriCalc = intval
+                                       wrap = margin-top:|px;
+                                       required = 1
+                                       ifEmpty.value =
+                                       wrap2 = <div style="|"></div>
+                               }
+                       }
+                       
+                       30 = TEXT
+                       30 {
+                               value = |
+                       }
+                       
+                       40 < .20
+                       40 {
+                               10 {
+                                       value = {$content.spaceAfter}
+                                       if.isTrue = {$content.spaceAfter}
+                               }
+                               20.field = spaceAfter
+                               stdWrap.wrap = margin-bottom:|px;
+                       }
+               }
+               
        }
        
        innerWrap2 = | <p class="csc-linkToTop"><a href="#">{LLL:EXT:css_styled_content/pi1/locallang.xml:label.toTop}</a></p>