diff options
Diffstat (limited to 'demos/quickstart/protected/controls')
-rw-r--r-- | demos/quickstart/protected/controls/SampleLayout.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/quickstart/protected/controls/SampleLayout.php b/demos/quickstart/protected/controls/SampleLayout.php index ee7f41ff..94b7ac74 100644 --- a/demos/quickstart/protected/controls/SampleLayout.php +++ b/demos/quickstart/protected/controls/SampleLayout.php @@ -2,6 +2,14 @@ class SampleLayout extends TTemplateControl
{
+
+ public function __construct()
+ {
+ if($this->Request->Items->contains('functionaltest'))
+ $this->Service->RequestedPage->EnableTheming=false;
+ parent::__construct();
+ }
+
public function toggleTopicPanel($sender,$param)
{
$this->TopicPanel->Visible=!$this->TopicPanel->Visible;
|