summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ViewSource.page
diff options
context:
space:
mode:
authorxue <>2006-05-05 14:59:44 +0000
committerxue <>2006-05-05 14:59:44 +0000
commit31ccaac63570dc86ef9fa840d63ca5f019fabbb2 (patch)
tree310293970abec5f9311c71ed6f815d22bfb90e38 /demos/quickstart/protected/pages/ViewSource.page
parentf46eb73c1c34e021cd35378e4e83a136aa7b8d35 (diff)
Fixed #161.
Diffstat (limited to 'demos/quickstart/protected/pages/ViewSource.page')
-rw-r--r--demos/quickstart/protected/pages/ViewSource.page12
1 files changed, 11 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/ViewSource.page b/demos/quickstart/protected/pages/ViewSource.page
index 900c45f6..8f1239b3 100644
--- a/demos/quickstart/protected/pages/ViewSource.page
+++ b/demos/quickstart/protected/pages/ViewSource.page
@@ -7,9 +7,19 @@
<body>
<div id="sourceList">
-<com:TLiteral ID="SourceList" />
+<table border="0">
+<com:TRepeater ID="SourceList">
+<prop:ItemTemplate>
+<tr>
+ <td align="right"><%# $this->DataItem['type']%>:</td>
+ <td><a href="<%# $this->DataItem['active']?'':$this->DataItem['url']%>"><%# $this->DataItem['name']%></a></td>
+</tr>
+</prop:ItemTemplate>
+</com:TRepeater>
+</table>
</div>
<div id="sourceView">
+<h3 style="text-align:center"><%= $this->FilePath %></h3>
<com:TTextHighlighter ID="Highlighter" ShowLineNumbers="true" CssClass="source">
<com:TLiteral ID="SourceView" />
</com:TTextHighlighter>