diff options
author | xue <> | 2005-12-08 17:51:08 +0000 |
---|---|---|
committer | xue <> | 2005-12-08 17:51:08 +0000 |
commit | 1bbff5ec853ae88cdfe1446d22c06a87fe305c0f (patch) | |
tree | ae353445a282289e947f389f5e7ef306e0b53de9 /framework/Web/UI/TPage.php | |
parent | 67512372613e56f223d810af3bc368834167707d (diff) |
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r-- | framework/Web/UI/TPage.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index e2565291..f9d8f879 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -446,6 +446,17 @@ class TPage extends TTemplateControl protected function onPreRenderComplete($param)
{
$this->raiseEvent('PreRenderComplete',$this,$param);
+ $cs=$this->getClientScript();
+ if($this->_theme)
+ {
+ foreach($this->_theme->getStyleSheetFiles() as $url)
+ $cs->registerStyleSheetFile($url,$url);
+ }
+ if($this->_styleSheet)
+ {
+ foreach($this->_styleSheet->getStyleSheetFiles() as $url)
+ $cs->registerStyleSheetFile($url,$url);
+ }
}
/**
|