From b9cd9367da104e5d3a4310fd1c40b841f5fbb286 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 23 Dec 2005 17:53:37 +0000 Subject: --- demos/quickstart/protected/pages/Layout.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 demos/quickstart/protected/pages/Layout.php (limited to 'demos/quickstart/protected/pages/Layout.php') diff --git a/demos/quickstart/protected/pages/Layout.php b/demos/quickstart/protected/pages/Layout.php new file mode 100644 index 00000000..a82d2fff --- /dev/null +++ b/demos/quickstart/protected/pages/Layout.php @@ -0,0 +1,15 @@ +TopicPanel->Visible=!$this->TopicPanel->Visible; + if($this->TopicPanel->Visible) + $sender->Text="Hide TOC"; + else + $sender->Text="Show TOC"; + } +} + +?> \ No newline at end of file -- cgit v1.2.3