summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ViewSource.page
diff options
context:
space:
mode:
authorwei <>2007-01-24 06:55:32 +0000
committerwei <>2007-01-24 06:55:32 +0000
commita019fe347214aac122144ac5027bf4b96cfbc72a (patch)
treef7a585a3413788b9d04ebdd6b3af9adbaf46125f /demos/quickstart/protected/pages/ViewSource.page
parente306989c6d03aac37e2557465b4812ea21970065 (diff)
Add $Id$ for all quickstart pages.
Diffstat (limited to 'demos/quickstart/protected/pages/ViewSource.page')
-rw-r--r--demos/quickstart/protected/pages/ViewSource.page5
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/ViewSource.page b/demos/quickstart/protected/pages/ViewSource.page
index 8f1239b3..46b7c674 100644
--- a/demos/quickstart/protected/pages/ViewSource.page
+++ b/demos/quickstart/protected/pages/ViewSource.page
@@ -6,6 +6,7 @@
</com:THead>
<body>
+<com:TForm>
<div id="sourceList">
<table border="0">
<com:TRepeater ID="SourceList">
@@ -17,12 +18,14 @@
</prop:ItemTemplate>
</com:TRepeater>
</table>
+<com:TCheckBox ID="showNumbers" Text="Show Line Numbers" Checked="true" AutoPostBack="true" />
</div>
<div id="sourceView">
<h3 style="text-align:center"><%= $this->FilePath %></h3>
-<com:TTextHighlighter ID="Highlighter" ShowLineNumbers="true" CssClass="source">
+<com:TTextHighlighter ID="Highlighter" ShowLineNumbers=<%= $this->showNumbers->Checked %> CssClass="source">
<com:TLiteral ID="SourceView" />
</com:TTextHighlighter>
</div>
+</com:TForm>
</body>
</html> \ No newline at end of file