diff options
author | xue <> | 2006-02-09 14:32:13 +0000 |
---|---|---|
committer | xue <> | 2006-02-09 14:32:13 +0000 |
commit | 47088abad9dbdd4ea24180753fa47ea3e363390c (patch) | |
tree | 966c86862df4eb6bfd964fdbb7649d0eba1e8526 /demos/quickstart/protected/controls/SampleLayout.php | |
parent | aa46c9ab78abdd23c273c5e49b402a87a2aefcdb (diff) |
Added Printer-friendly version of quickstart tutorial.
Diffstat (limited to 'demos/quickstart/protected/controls/SampleLayout.php')
-rw-r--r-- | demos/quickstart/protected/controls/SampleLayout.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/demos/quickstart/protected/controls/SampleLayout.php b/demos/quickstart/protected/controls/SampleLayout.php index 2224572a..a89b905d 100644 --- a/demos/quickstart/protected/controls/SampleLayout.php +++ b/demos/quickstart/protected/controls/SampleLayout.php @@ -2,22 +2,12 @@ class SampleLayout extends TTemplateControl
{
-
public function __construct()
{
- if(isset($this->Request['functionaltest']))
+ if(isset($this->Request['notheme']))
$this->Service->RequestedPage->EnableTheming=false;
parent::__construct();
}
-
- public function toggleTopicPanel($sender,$param)
- {
- $this->TopicPanel->Visible=!$this->TopicPanel->Visible;
- if($this->TopicPanel->Visible)
- $sender->Text="Hide TOC";
- else
- $sender->Text="Show TOC";
- }
}
?>
\ No newline at end of file |