diff options
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 |