diff options
author | wei <> | 2006-01-15 11:04:00 +0000 |
---|---|---|
committer | wei <> | 2006-01-15 11:04:00 +0000 |
commit | abc5bbd9c771dcecfa41ba3590cce1c1ef190cdd (patch) | |
tree | 45884a9f15efb190144165d50f79bab6fa914494 /tests/FunctionalTests/protected/pages/ViewSource.page | |
parent | 5af330b442f15be0f0535a9e3c053b8e6eb5a202 (diff) |
Diffstat (limited to 'tests/FunctionalTests/protected/pages/ViewSource.page')
-rw-r--r-- | tests/FunctionalTests/protected/pages/ViewSource.page | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/FunctionalTests/protected/pages/ViewSource.page b/tests/FunctionalTests/protected/pages/ViewSource.page index 900c45f6..218cc901 100644 --- a/tests/FunctionalTests/protected/pages/ViewSource.page +++ b/tests/FunctionalTests/protected/pages/ViewSource.page @@ -6,13 +6,18 @@ </com:THead>
<body>
+<com:TForm>
<div id="sourceList">
<com:TLiteral ID="SourceList" />
+<com:TCheckBox ID="showLineNumbers" AutoPostBack="true" />
+<com:TLabel For="showLineNumbers">Show Line Numbers</com:TLabel>
</div>
<div id="sourceView">
-<com:TTextHighlighter ID="Highlighter" ShowLineNumbers="true" CssClass="source">
+<com:TTextHighlighter ID="Highlighter" CssClass="source"
+ ShowLineNumbers="<%# $this->Page->showLineNumbers->Checked %>" >
<com:TLiteral ID="SourceView" />
</com:TTextHighlighter>
+</com:TForm>
</div>
</body>
</html>
\ No newline at end of file |