summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TPage.php
diff options
context:
space:
mode:
authorxue <>2006-01-24 02:55:55 +0000
committerxue <>2006-01-24 02:55:55 +0000
commit51694d32a1b85a02809f55e1f406c98ba755b4bf (patch)
tree5fc4658cb11c2a2fc36335166e0f1ff57f2df3b3 /framework/Web/UI/TPage.php
parentc5f2fb2c77e7140277349d5b1f1a8f6017909dc6 (diff)
Make quickstart demos disable theme if under FT situation.
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r--framework/Web/UI/TPage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index 53090e7f..f4d5fa99 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -455,14 +455,14 @@ class TPage extends TTemplateControl
{
$this->raiseEvent('OnPreRenderComplete',$this,$param);
$cs=$this->getClientScript();
- if($this->_theme)
+ if($this->_theme instanceof ITheme)
{
foreach($this->_theme->getStyleSheetFiles() as $url)
$cs->registerStyleSheetFile($url,$url);
foreach($this->_theme->getJavaScriptFiles() as $url)
$cs->registerHeadScriptFile($url,$url);
}
- if($this->_styleSheet)
+ if($this->_styleSheet instanceof ITheme)
{
foreach($this->_styleSheet->getStyleSheetFiles() as $url)
$cs->registerStyleSheetFile($url,$url);