diff options
author | xue <> | 2007-09-11 02:09:27 +0000 |
---|---|---|
committer | xue <> | 2007-09-11 02:09:27 +0000 |
commit | 269c9a0010c2495db961c185e83fd52b33b04d73 (patch) | |
tree | a17692a7e974b103ca679606051b20472e9129e1 /tests/FunctionalTests/tickets/protected700/layout/MainLayout.php | |
parent | f5fa9b2249423f89f76b24a21d3014234b7f60f6 (diff) |
Fixed #692, #700.
Diffstat (limited to 'tests/FunctionalTests/tickets/protected700/layout/MainLayout.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected700/layout/MainLayout.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php b/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php new file mode 100644 index 00000000..3e0a3d19 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php @@ -0,0 +1,12 @@ +<?php
+
+class MainLayout extends TTemplateControl
+{
+ public function logout($sender,$param)
+ {
+ $this->Application->getModule('auth')->logout();
+ $this->Response->reload();
+ }
+}
+
+?>
\ No newline at end of file |