* Fixed stylesheet issues in Extension Manager.
authorKasper Skårhøj <kasper@typo3.org>
Wed, 19 May 2004 16:15:30 +0000 (16:15 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Wed, 19 May 2004 16:15:30 +0000 (16:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@316 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/tools/em/index.php
typo3/stylesheet.css

index 02e5296..4c86cbb 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-05-19  Kasper Skårhøj,,,  <kasper@typo3.com>
 
+       * Fixed stylesheet issues in Extension Manager.
+
+2004-05-19  Kasper Skårhøj,,,  <kasper@typo3.com>
+
        * Finally fixed typo3/show_item.php and typo3/wizard_colorpicker.php scripts for TYPO3 3.6.0 compliance. Now only extensions and some t3lib/ are missing clean-up.
 
 2004-05-18  Kasper Skårhøj,,,  <kasper@typo3.com>
index f268f6f..483875d 100755 (executable)
@@ -651,12 +651,11 @@ class SC_mod_tools_em_index {
                                                if (in_array($extKey,$this->requiredExt))       $loadUnloadLink='<strong>'.$GLOBALS['TBE_TEMPLATE']->rfw('Rq').'</strong>';
 
                                                if ($list[$extKey]['EM_CONF']['private'])       {
-                                                       $theBgColor = '#F6CA96';
+                                                       $theRowClass = 'em-private';
                                                } else {
-                                                       $theBgColor = t3lib_extMgm::isLoaded($extKey)?$this->doc->bgColor4:t3lib_div::modifyHTMLcolor($this->doc->bgColor4,20,20,20);
+                                                       $theRowClass = t3lib_extMgm::isLoaded($extKey)? 'em-listbg1' : 'em-listbg2';
                                                }
-                                               $lines[]=$this->extensionListRow($extKey,$list[$extKey],array('<td class="bgColor">'.$loadUnloadLink.'</td>'),
-                                                                               $theBgColor);
+                                               $lines[]=$this->extensionListRow($extKey,$list[$extKey],array('<td class="bgColor">'.$loadUnloadLink.'</td>'),$theRowClass);
                                        }
                                }
                        }
@@ -748,14 +747,13 @@ EXTENSION KEYS:
                                                                        }
 
                                                                        if ($list[$extKey]['_MEMBERS_ONLY'])    {
-                                                                               $theBgColor = '#F6CA96';
+                                                                               $theRowClass = 'em-private';
                                                                        } elseif (isset($inst_list[$extKey]))   {
-                                                                               $theBgColor = t3lib_extMgm::isLoaded($extKey)?$this->doc->bgColor4:t3lib_div::modifyHTMLcolor($this->doc->bgColor4,20,20,20);
+                                                                               $theRowClass = t3lib_extMgm::isLoaded($extKey) ? 'em-listbg1' : 'em-listbg2';
                                                                        } else {
-                                                                               $theBgColor = t3lib_div::modifyHTMLcolor($this->doc->bgColor2,30,30,30);
+                                                                               $theRowClass = 'em-listbg3';
                                                                        }
-                                                                       $lines[]=$this->extensionListRow($extKey,$list[$extKey],array('<td class="bgColor">'.$loadUnloadLink.'</td>'),
-                                                                                                       $theBgColor,$inst_list,1,'index.php?CMD[importExtInfo]='.$list[$extKey]['extRepUid']);
+                                                                       $lines[]=$this->extensionListRow($extKey,$list[$extKey],array('<td class="bgColor">'.$loadUnloadLink.'</td>'),$theRowClass,$inst_list,1,'index.php?CMD[importExtInfo]='.$list[$extKey]['extRepUid']);
                                                                }
                                                        }
                                                }
@@ -786,8 +784,7 @@ EXTENSION KEYS:
                                                                                '<a href="'.htmlspecialchars('index.php?CMD[showExt]='.$extKey.'&CMD[remove]=1&CMD[clrCmd]=1&SET[singleDetails]=info').'">'.$this->removeButton().'</a>':
                                                                                '<a href="'.htmlspecialchars('index.php?CMD[showExt]='.$extKey.'&CMD[load]=1&CMD[clrCmd]=1&SET[singleDetails]=info').'">'.$this->installButton().'</a>';
                                                                        if (in_array($extKey,$this->requiredExt))       $loadUnloadLink='<strong>'.$GLOBALS['TBE_TEMPLATE']->rfw('Rq').'</strong>';
-                                                                       $lines[]=$this->extensionListRow($extKey,$inst_list[$extKey],array('<td class="bgColor">'.$loadUnloadLink.'</td>'),
-                                                                                                       t3lib_extMgm::isLoaded($extKey)?$this->doc->bgColor4:t3lib_div::modifyHTMLcolor($this->doc->bgColor4,20,20,20));
+                                                                       $lines[]=$this->extensionListRow($extKey,$inst_list[$extKey],array('<td class="bgColor">'.$loadUnloadLink.'</td>'),t3lib_extMgm::isLoaded($extKey)?'em-listbg1':'em-listbg2');
                                                                }
                                                        }
                                                }
index 0f578c8..744a0b8 100755 (executable)
@@ -107,7 +107,6 @@ IMG {
 
 
 
-
 /*********************************************
  * Various body tags:
  *********************************************/
@@ -385,6 +384,16 @@ BODY#typo3-db-new-php A { text-decoration: none; }
 BODY#typo3-db-new-php IMG.c-helpImg { margin-left: 20px; text-align: right; }
 BODY#typo3-db-new-php DIV#typo3-newPageLink { margin-top: 20px; }
 
+/* Extension Manager */
+BODY#typo3-mod-tools-em-index-php .em-private {background-color: #F6CA96;}
+BODY#typo3-mod-tools-em-index-php .em-listbg1 {background-color: #D9D5C9;}
+BODY#typo3-mod-tools-em-index-php .em-listbg2 {background-color: #e9e5e9;}
+BODY#typo3-mod-tools-em-index-php .em-listbg3 {background-color: #efefef;}
+BODY#typo3-mod-tools-em-index-php TR.bgColor5 TD {font-weight: bold;}
+
+
+
+
 /*********************************************
  * VARIOUS STAND-ALONE classes:
  *********************************************/