From f0737c5b52373f262a4c8cfd25d4e1bb6ff33aee Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 13 Jan 2006 13:03:01 +0000 Subject: Move SafeHtml to 3rdParty/SafeHtml. Add TSafeHtml component. Change TTextBox::getText() to use SafeHtml --- tests/FunctionalTests/protected/pages/Layout.php | 8 +++++ tests/FunctionalTests/protected/pages/Layout.tpl | 36 ++++++++++++++++++++++ .../protected/pages/ViewSource.page | 18 +++++++++++ .../FunctionalTests/protected/pages/ViewSource.php | 12 ++++++++ tests/FunctionalTests/protected/pages/config.xml | 10 ++++++ 5 files changed, 84 insertions(+) create mode 100644 tests/FunctionalTests/protected/pages/Layout.php create mode 100644 tests/FunctionalTests/protected/pages/Layout.tpl create mode 100644 tests/FunctionalTests/protected/pages/ViewSource.page create mode 100644 tests/FunctionalTests/protected/pages/ViewSource.php create mode 100644 tests/FunctionalTests/protected/pages/config.xml (limited to 'tests/FunctionalTests') diff --git a/tests/FunctionalTests/protected/pages/Layout.php b/tests/FunctionalTests/protected/pages/Layout.php new file mode 100644 index 00000000..2c6e02d6 --- /dev/null +++ b/tests/FunctionalTests/protected/pages/Layout.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/tests/FunctionalTests/protected/pages/Layout.tpl b/tests/FunctionalTests/protected/pages/Layout.tpl new file mode 100644 index 00000000..36fabe71 --- /dev/null +++ b/tests/FunctionalTests/protected/pages/Layout.tpl @@ -0,0 +1,36 @@ + + + + + + + + + + + +
+ + Validate XHTML 1.0 + +View Source +
+ + \ No newline at end of file diff --git a/tests/FunctionalTests/protected/pages/ViewSource.page b/tests/FunctionalTests/protected/pages/ViewSource.page new file mode 100644 index 00000000..900c45f6 --- /dev/null +++ b/tests/FunctionalTests/protected/pages/ViewSource.page @@ -0,0 +1,18 @@ + + + + + + + + +
+ +
+
+ + + +
+ + \ No newline at end of file diff --git a/tests/FunctionalTests/protected/pages/ViewSource.php b/tests/FunctionalTests/protected/pages/ViewSource.php new file mode 100644 index 00000000..eeaf0f80 --- /dev/null +++ b/tests/FunctionalTests/protected/pages/ViewSource.php @@ -0,0 +1,12 @@ +Request->getParameter("source"); + var_dump($pageName); + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/protected/pages/config.xml b/tests/FunctionalTests/protected/pages/config.xml new file mode 100644 index 00000000..1a551a90 --- /dev/null +++ b/tests/FunctionalTests/protected/pages/config.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3