summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket653
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket653')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php13
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.tpl45
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket653/ticket653.page3
3 files changed, 61 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php b/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php
new file mode 100644
index 00000000..de4d3b3d
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php
@@ -0,0 +1,13 @@
+<?php
+
+class Layout extends TTemplateControl
+{
+ public function onLoad($param)
+ {
+ $this->getPage()->setTitle("Verifying Ticket 653");
+ $this->ticketlink->setText("Verifying Ticket 653");
+ $this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/prado/ticket/653");
+ }
+}
+
+?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.tpl b/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.tpl
new file mode 100644
index 00000000..bf2f8fab
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.tpl
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<com:THead Title="PRADO Functional Tests">
+ <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+ <style type="text/css">
+ /*<![CDATA[*/
+ .defect
+ {
+ color: #c00;
+ font-size: 1.15em;
+ }
+ body
+ {
+ font-family: Georgia, "Times New Roman", Times, serif;
+ }
+ .w3c
+ {
+ margin-top: 2em;
+ display: block;
+ }
+ /*]]>*/
+ </style>
+</com:THead>
+<body>
+<com:TForm>
+<h1><com:THyperLink ID="ticketlink" /></h1>
+
+<com:TContentPlaceHolder ID="Content" />
+<hr style="margin-top: 2em" />
+<com:TJavascriptLogger />
+</com:TForm>
+<div class="w3c">
+<a href="http://validator.w3.org/check?uri=referer">
+ Validate XHTML 1.0
+</a>
+<a href="?page=ViewSource&amp;path=<%= str_replace('.','/', $this->Request->ServiceParameter) %>.page"
+ style="margin: 0 1em;"
+ onclick="window.open(this.href); return false;"
+ onkeypress="window.open(this.href); return false;">View Source</a>
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket653/ticket653.page b/tests/FunctionalTests/tickets/protected/pages/Ticket653/ticket653.page
new file mode 100644
index 00000000..cab72cc3
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket653/ticket653.page
@@ -0,0 +1,3 @@
+<com:TContent ID="Content">
+<span id="textspan">This is the page for Ticket653</span>
+</com:TContent> \ No newline at end of file