From 269c9a0010c2495db961c185e83fd52b33b04d73 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 11 Sep 2007 02:09:27 +0000 Subject: Fixed #692, #700. --- .../tickets/protected700/pages/Home.page | 14 +++++++++++ .../tickets/protected700/pages/UserLogin.page | 28 ++++++++++++++++++++++ .../tickets/protected700/pages/UserLogin.php | 13 ++++++++++ .../tickets/protected700/pages/admin/Home.page | 14 +++++++++++ .../tickets/protected700/pages/admin/Home2.page | 14 +++++++++++ .../tickets/protected700/pages/admin/config.xml | 11 +++++++++ .../protected700/pages/admin/users/Home.page | 14 +++++++++++ .../protected700/pages/admin/users/Home2.page | 14 +++++++++++ .../protected700/pages/admin/users/config.xml | 6 +++++ .../tickets/protected700/pages/config.xml | 10 ++++++++ .../tickets/protected700/pages/content/Home.page | 14 +++++++++++ 11 files changed, 152 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected700/pages/Home.page create mode 100644 tests/FunctionalTests/tickets/protected700/pages/UserLogin.page create mode 100644 tests/FunctionalTests/tickets/protected700/pages/UserLogin.php create mode 100644 tests/FunctionalTests/tickets/protected700/pages/admin/Home.page create mode 100644 tests/FunctionalTests/tickets/protected700/pages/admin/Home2.page create mode 100644 tests/FunctionalTests/tickets/protected700/pages/admin/config.xml create mode 100644 tests/FunctionalTests/tickets/protected700/pages/admin/users/Home.page create mode 100644 tests/FunctionalTests/tickets/protected700/pages/admin/users/Home2.page create mode 100644 tests/FunctionalTests/tickets/protected700/pages/admin/users/config.xml create mode 100644 tests/FunctionalTests/tickets/protected700/pages/config.xml create mode 100644 tests/FunctionalTests/tickets/protected700/pages/content/Home.page (limited to 'tests/FunctionalTests/tickets/protected700/pages') diff --git a/tests/FunctionalTests/tickets/protected700/pages/Home.page b/tests/FunctionalTests/tickets/protected700/pages/Home.page new file mode 100644 index 00000000..7d1c1187 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/Home.page @@ -0,0 +1,14 @@ + + +|Param1: <%= $this->Param1 %>| +
+|Param2: <%= $this->Param2 %>| +
+|Param3: <%= $this->Param3 %>| +
+|Param4: <%= $this->Param4 %>| +
+|Param5: <%= $this->Param5 %>| +
+ +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/UserLogin.page b/tests/FunctionalTests/tickets/protected700/pages/UserLogin.page new file mode 100644 index 00000000..07d4ece9 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/UserLogin.page @@ -0,0 +1,28 @@ + + + + +
+ + +
+ + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/UserLogin.php b/tests/FunctionalTests/tickets/protected700/pages/UserLogin.php new file mode 100644 index 00000000..37258879 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/UserLogin.php @@ -0,0 +1,13 @@ +Application->getModule('auth'); + $authManager->login($this->Username->Text,$this->Password->Text); + $this->Response->redirect($this->Service->constructUrl('Home')); + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/admin/Home.page b/tests/FunctionalTests/tickets/protected700/pages/admin/Home.page new file mode 100644 index 00000000..7d1c1187 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/admin/Home.page @@ -0,0 +1,14 @@ + + +|Param1: <%= $this->Param1 %>| +
+|Param2: <%= $this->Param2 %>| +
+|Param3: <%= $this->Param3 %>| +
+|Param4: <%= $this->Param4 %>| +
+|Param5: <%= $this->Param5 %>| +
+ +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/admin/Home2.page b/tests/FunctionalTests/tickets/protected700/pages/admin/Home2.page new file mode 100644 index 00000000..7d1c1187 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/admin/Home2.page @@ -0,0 +1,14 @@ + + +|Param1: <%= $this->Param1 %>| +
+|Param2: <%= $this->Param2 %>| +
+|Param3: <%= $this->Param3 %>| +
+|Param4: <%= $this->Param4 %>| +
+|Param5: <%= $this->Param5 %>| +
+ +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/admin/config.xml b/tests/FunctionalTests/tickets/protected700/pages/admin/config.xml new file mode 100644 index 00000000..04ac6bdd --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/admin/config.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/admin/users/Home.page b/tests/FunctionalTests/tickets/protected700/pages/admin/users/Home.page new file mode 100644 index 00000000..7d1c1187 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/admin/users/Home.page @@ -0,0 +1,14 @@ + + +|Param1: <%= $this->Param1 %>| +
+|Param2: <%= $this->Param2 %>| +
+|Param3: <%= $this->Param3 %>| +
+|Param4: <%= $this->Param4 %>| +
+|Param5: <%= $this->Param5 %>| +
+ +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/admin/users/Home2.page b/tests/FunctionalTests/tickets/protected700/pages/admin/users/Home2.page new file mode 100644 index 00000000..7d1c1187 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/admin/users/Home2.page @@ -0,0 +1,14 @@ + + +|Param1: <%= $this->Param1 %>| +
+|Param2: <%= $this->Param2 %>| +
+|Param3: <%= $this->Param3 %>| +
+|Param4: <%= $this->Param4 %>| +
+|Param5: <%= $this->Param5 %>| +
+ +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/admin/users/config.xml b/tests/FunctionalTests/tickets/protected700/pages/admin/users/config.xml new file mode 100644 index 00000000..175ea5c7 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/admin/users/config.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/config.xml b/tests/FunctionalTests/tickets/protected700/pages/config.xml new file mode 100644 index 00000000..416de43f --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/config.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected700/pages/content/Home.page b/tests/FunctionalTests/tickets/protected700/pages/content/Home.page new file mode 100644 index 00000000..7d1c1187 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected700/pages/content/Home.page @@ -0,0 +1,14 @@ + + +|Param1: <%= $this->Param1 %>| +
+|Param2: <%= $this->Param2 %>| +
+|Param3: <%= $this->Param3 %>| +
+|Param4: <%= $this->Param4 %>| +
+|Param5: <%= $this->Param5 %>| +
+ +
\ No newline at end of file -- cgit v1.2.3