summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Layout.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Layout.tpl')
-rw-r--r--tests/FunctionalTests/protected/pages/Layout.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FunctionalTests/protected/pages/Layout.tpl b/tests/FunctionalTests/protected/pages/Layout.tpl
index 36fabe71..9a798b3c 100644
--- a/tests/FunctionalTests/protected/pages/Layout.tpl
+++ b/tests/FunctionalTests/protected/pages/Layout.tpl
@@ -27,7 +27,7 @@
<a href="http://validator.w3.org/check?uri=referer">
Validate XHTML 1.0
</a>
-<a href="?page=ViewSource&amp;source=<%= $this->Request->ServiceParameter %>"
+<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>