diff options
Diffstat (limited to 'demos/quickstart/protected/pages/ViewSource.page')
-rw-r--r-- | demos/quickstart/protected/pages/ViewSource.page | 12 |
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>
|