summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/HomePage.php
diff options
context:
space:
mode:
authorxue <>2005-11-17 19:21:21 +0000
committerxue <>2005-11-17 19:21:21 +0000
commitd833d2766f28f927cb4e1e8e660771361abdfdf9 (patch)
treef64d674c8e1ce25bdb712efb64fdf5557db9e550 /demos/controls/protected/pages/HomePage.php
parentaa2edcf52ee7438876d826283274bf7e271fad4a (diff)
added application mode support.
Diffstat (limited to 'demos/controls/protected/pages/HomePage.php')
-rw-r--r--demos/controls/protected/pages/HomePage.php4
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)