[TYPO3-project-4-3] ExtJS: small issue when loading the default theme

Fabien Udriot fudriot at omic.ch
Mon Jun 8 10:15:05 CEST 2009


Hi,

Small issue regarding the loading of CSS StylesSheets in ExtJS. Method loadExtJS() from template.php 
calls the wrong CSS file: "xtheme-grey.css" should be "xtheme-gray.css".

gray / grey: seems to be a spelling difference between the US and GB English.

Index: typo3/template.php
===================================================================
--- typo3/template.php	(revision 5569)
+++ typo3/template.php	(working copy)
@@ -2135,7 +2135,7 @@
  				if (isset($GLOBALS['TBE_STYLES']['extJS']['theme'])) {
  					$this->addStyleSheet('ext-theme', $GLOBALS['TBE_STYLES']['extJS']['theme']);
  				} else {
-					$this->addStyleSheet('ext-theme', $this->backPath . 
'contrib/extjs/resources/css/xtheme-grey.css');
+					$this->addStyleSheet('ext-theme', $this->backPath . 
'contrib/extjs/resources/css/xtheme-gray.css');
  				}
  			}
  		}


More information about the TYPO3-project-4-3 mailing list