Fixed bug #9301: Missing colorization in Localization Overview of the page tree
authorIngo Renner <ingo.renner@typo3.org>
Mon, 8 Sep 2008 01:40:49 +0000 (01:40 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Mon, 8 Sep 2008 01:40:49 +0000 (01:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4071 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/web_info/class.tx_cms_webinfo_lang.php

index 16ffc6d..934bbe4 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-09-07  Ingo Renner  <ingo@typo3.org>
 
        * Fixed issue #9285: Remove all @ in front of file_exists() calls
+       * Fixed bug #9301: Missing colorization in Localization Overview of the page tree
 
 2008-09-06  Dmitry Dulepov  <dmitry@typo3.org>
 
index eb37741..aead661 100644 (file)
@@ -136,23 +136,21 @@ class tx_cms_webinfo_lang extends t3lib_extobjbase {
                        #debug($tree->tree);
 
                                // Add CSS needed:
-                       $css_content = '
-                               TABLE#langTable {
+                       $this->pObj->doc->inDocStylesArray[] = '
+                               table#langTable {
                                        margin-top: 10px;
                                }
-                               TABLE#langTable TR TD {
+                               table#langTable tr td {
                                        padding-left : 2px;
                                        padding-right : 2px;
                                        white-space: nowrap;
                                }
-                               TD.c-blocked { background-color: red; }
-                               TD.c-ok { background-color: #669966; }
-                               TD.c-fallback {  }
-                               TD.c-leftLine {border-left: 2px solid black; }
+                               td.c-blocked { background-color: #f72116; }
+                               td.c-ok { background-color: #86b571; }
+                               td.c-fallback {  }
+                               td.c-leftLine {border-left: 2px solid black; }
                                .bgColor5 { font-weight: bold; }
                        ';
-                       $marker = '/*###POSTCSSMARKER###*/';
-                       $this->pObj->content = str_replace($marker,$css_content.chr(10).$marker,$this->pObj->content);
 
                                // Render information table:
                        $theOutput.= $this->renderL10nTable($tree);
@@ -419,4 +417,5 @@ class tx_cms_webinfo_lang extends t3lib_extobjbase {
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/cms/web_info/class.tx_cms_webinfo_lang.php']) {
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/cms/web_info/class.tx_cms_webinfo_lang.php']);
 }
-?>
+
+?>
\ No newline at end of file