From f481e13ebf72336ed2dc90c8ec9f5d4db5b62664 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Wed, 28 Dec 2005 20:59:09 +0000
Subject:
---
.../quickstart/protected/controls/SampleLayout.php | 15 +++++++++++
.../quickstart/protected/controls/SampleLayout.tpl | 29 ++++++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 demos/quickstart/protected/controls/SampleLayout.php
create mode 100644 demos/quickstart/protected/controls/SampleLayout.tpl
(limited to 'demos/quickstart/protected/controls')
diff --git a/demos/quickstart/protected/controls/SampleLayout.php b/demos/quickstart/protected/controls/SampleLayout.php
new file mode 100644
index 00000000..ee7f41ff
--- /dev/null
+++ b/demos/quickstart/protected/controls/SampleLayout.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
diff --git a/demos/quickstart/protected/controls/SampleLayout.tpl b/demos/quickstart/protected/controls/SampleLayout.tpl
new file mode 100644
index 00000000..f1237010
--- /dev/null
+++ b/demos/quickstart/protected/controls/SampleLayout.tpl
@@ -0,0 +1,29 @@
+
+
+
+