diff options
Diffstat (limited to 'demos/composer/protected/pages/Layout.php')
-rw-r--r-- | demos/composer/protected/pages/Layout.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/demos/composer/protected/pages/Layout.php b/demos/composer/protected/pages/Layout.php index a82d2fff..3d9b5714 100644 --- a/demos/composer/protected/pages/Layout.php +++ b/demos/composer/protected/pages/Layout.php @@ -1,15 +1,15 @@ -<?php
-
-class Layout extends TTemplateControl
-{
- public function toggleTopicPanel($sender,$param)
- {
- $this->TopicPanel->Visible=!$this->TopicPanel->Visible;
- if($this->TopicPanel->Visible)
- $sender->Text="Hide TOC";
- else
- $sender->Text="Show TOC";
- }
-}
-
+<?php + +class Layout extends TTemplateControl +{ + 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 |