Template tools (Web>Template) had hard-coded background colours
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 9 Jun 2006 20:44:57 +0000 (20:44 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 9 Jun 2006 20:44:57 +0000 (20:44 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1516 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php
typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php
typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php

index a81205f..8e3fd7d 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 
 2006-06-08  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
+       * Template tools (Web>Template) had hard-coded background colours
+
+2006-06-08  Martin Kutschker  <martin.t.kutschker@blackbox.net>
+
        * Make t3lib_div::arrayToLogString() accept an empty string as empty list
        * Fix bug #2938: edit icons have two title attributes, one hardcoded as an empty string
 
index 54d0e11..d48d28b 100644 (file)
@@ -151,7 +151,7 @@ class tx_tstemplateanalyzer extends t3lib_extobjbase {
                                                        <td><img src=clear.gif width=3 height=1></td><td class="bgColor2"><b>'.$tmpl->templateTitles[$cVal].'</b></td></tr>
                                                <tr>
                                                        <td><img src=clear.gif width=3 height=1></td>
-                                                       <td class="bgColor2"><table border=0 cellpadding=0 cellspacing=0 bgcolor="#D9D5C9" width="100%"><tr><td nowrap>'.$tmpl->ext_outputTS(array($val),$this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]).'</td></tr></table>
+                                                       <td class="bgColor2"><table border=0 cellpadding=0 cellspacing=0 class="bgColor4" width="100%"><tr><td nowrap>'.$tmpl->ext_outputTS(array($val),$this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]).'</td></tr></table>
                                                        </td>
                                                </tr>
                                        ';
@@ -187,7 +187,7 @@ class tx_tstemplateanalyzer extends t3lib_extobjbase {
                                                        <td><img src=clear.gif width=3 height=1></td><td class="bgColor2"><b>'.$tmpl->templateTitles[current($tmpl->clearList_setup)].'</b></td></tr>
                                                <tr>
                                                        <td><img src=clear.gif width=3 height=1></td>
-                                                       <td class="bgColor2"><table border=0 cellpadding=0 cellspacing=0 bgcolor="#D9D5C9" width="100%"><tr><td nowrap>'.$tmpl->ext_outputTS(array($val),$this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]).'</td></tr></table>
+                                                       <td class="bgColor2"><table border=0 cellpadding=0 cellspacing=0 class="bgColor4" width="100%"><tr><td nowrap>'.$tmpl->ext_outputTS(array($val),$this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]).'</td></tr></table>
                                                        </td>
                                                </tr>
                                        ';
index 8bc2934..b4ec7ad 100644 (file)
@@ -39,9 +39,9 @@ class tx_tstemplateinfo extends t3lib_extobjbase {
                );
        }
        function tableRow($label,$data,$field)  {
-               $ret='<tr><td bgcolor="#D9D5C9" width="1%">';
+               $ret='<tr><td class="bgColor4" width="1%">';
                $ret.='<a href="index.php?id='.$this->pObj->id.'&e['.$field.']=1"><img src="'.$GLOBALS["BACK_PATH"].'gfx/edit2.gif" width=11 height=12 hspace=3 border=0 title="Edit field"></a>';
-               $ret.='</td><td bgcolor="#D9D5C9" width="1%"><b>'.$label.'&nbsp;&nbsp;</b></td><td bgcolor="#D9D5C9" width="99%">'.$data.'&nbsp;</td></tr>';
+               $ret.='</td><td class="bgColor4" width="1%"><b>'.$label.'&nbsp;&nbsp;</b></td><td class="bgColor4" width="99%">'.$data.'&nbsp;</td></tr>';
                return $ret;
        }
        function procesResources($resources,$func=0)    {
index 9e514b3..861316d 100644 (file)
@@ -449,7 +449,7 @@ class tx_tstemplateobjbrowser extends t3lib_extobjbase {
                                        <tr>
                                                <td><img src=clear.gif width=4 height=1></td>
                                                <td class="bgColor2">
-                                                       <table border=0 cellpadding=0 cellspacing=0 bgcolor="#D9D5C9" width="100%"><tr><td nowrap>'.$tree.'</td></tr></table><img src=clear.gif width=465 height=1></td>
+                                                       <table border=0 cellpadding=0 cellspacing=0 class="bgColor4" width="100%"><tr><td nowrap>'.$tree.'</td></tr></table><img src=clear.gif width=465 height=1></td>
                                        </tr>
                                </table>
                        ';
@@ -469,7 +469,7 @@ class tx_tstemplateobjbrowser extends t3lib_extobjbase {
                                                <tr>
                                                        <td><img src=clear.gif width=4 height=1></td>
                                                        <td class="bgColor2">
-                                                               <table border=0 cellpadding=0 cellspacing=0 bgcolor="#D9D5C9">'.$out.'
+                                                               <table border=0 cellpadding=0 cellspacing=0 class="bgColor4">'.$out.'
                                                                <tr>
                                                                        <td>&nbsp;</td>
                                                                        <td><img src=clear.gif height=10 width=240><BR><input type="Submit" name="Submit" value="Set conditions"><BR></td>
@@ -489,7 +489,7 @@ class tx_tstemplateobjbrowser extends t3lib_extobjbase {
                                        <tr>
                                                <td><img src=clear.gif width=4 height=1></td>
                                                <td class="bgColor2">
-                                                       <table border=0 cellpadding=0 cellspacing=0 bgcolor="#D9D5C9">
+                                                       <table border=0 cellpadding=0 cellspacing=0 class="bgColor4">
                                                        <tr>
                                                                <td>&nbsp;Enter search phrase:&nbsp;&nbsp;<input type="Text" name="search_field" value="'.htmlspecialchars($POST["search_field"]).'"'.$GLOBALS["TBE_TEMPLATE"]->formWidth(20).'></td>
                                                                <td><input type="Submit" name="search" value="Search"></td>