diff options
author | xue <> | 2005-11-17 19:21:21 +0000 |
---|---|---|
committer | xue <> | 2005-11-17 19:21:21 +0000 |
commit | d833d2766f28f927cb4e1e8e660771361abdfdf9 (patch) | |
tree | f64d674c8e1ce25bdb712efb64fdf5557db9e550 /demos/controls/protected/pages/HomePage.php | |
parent | aa2edcf52ee7438876d826283274bf7e271fad4a (diff) |
added application mode support.
Diffstat (limited to 'demos/controls/protected/pages/HomePage.php')
-rw-r--r-- | demos/controls/protected/pages/HomePage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php index 6c69e44b..7339f364 100644 --- a/demos/controls/protected/pages/HomePage.php +++ b/demos/controls/protected/pages/HomePage.php @@ -5,8 +5,8 @@ class HomePage extends TPage public function onPreInit($param)
{
parent::onPreInit($param);
- if(!$this->getUser()->getIsGuest())
- $this->setTheme('');
+ if(!$this->User->IsGuest)
+ $this->Theme='';
}
public function testClick($sender,$param)
|