diff options
author | wei <> | 2007-01-24 06:55:32 +0000 |
---|---|---|
committer | wei <> | 2007-01-24 06:55:32 +0000 |
commit | a019fe347214aac122144ac5027bf4b96cfbc72a (patch) | |
tree | f7a585a3413788b9d04ebdd6b3af9adbaf46125f /demos/quickstart/protected/pages/ViewSource.page | |
parent | e306989c6d03aac37e2557465b4812ea21970065 (diff) |
Add $Id$ for all quickstart pages.
Diffstat (limited to 'demos/quickstart/protected/pages/ViewSource.page')
-rw-r--r-- | demos/quickstart/protected/pages/ViewSource.page | 5 |
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 |