Added feature #11793: Give CONTENT.table stdWrap properties (thanks to Sebastian...
authorBenni Mack <benni.mack@typo3.org>
Thu, 24 Sep 2009 22:23:08 +0000 (22:23 +0000)
committerBenni Mack <benni.mack@typo3.org>
Thu, 24 Sep 2009 22:23:08 +0000 (22:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6046 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index 8b514c8..215f71f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-25  Benjamin Mack  <benni@typo3.org>
+
+       * Added feature #11793: Give CONTENT.table stdWrap properties (thanks to Sebastian Gebhard)
+
 2009-09-24  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #12025: Make statuses in the status report sorted and grouped
index 668fd7e..4d5221e 100644 (file)
@@ -1310,6 +1310,7 @@ class tslib_cObj {
                        $GLOBALS['TSFE']->recordRegister[$originalRec]++;
                }
 
+               $conf['table'] = trim($this->stdWrap($conf['table'], $conf['table.']));
                if ($conf['table']=='pages' || substr($conf['table'],0,3)=='tt_' || substr($conf['table'],0,3)=='fe_' || substr($conf['table'],0,3)=='tx_' || substr($conf['table'],0,4)=='ttx_' || substr($conf['table'],0,5)=='user_' || substr($conf['table'],0,7)=='static_')       {
 
                        $renderObjName = $conf['renderObj'] ? $conf['renderObj'] : '<'.$conf['table'];