summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Comments.page
diff options
context:
space:
mode:
authorxue <>2006-07-09 13:08:10 +0000
committerxue <>2006-07-09 13:08:10 +0000
commit79611edbd514621fa5cf61c92556f94ed5d203dc (patch)
treece7fadc3287d37eb2b04697f8c32f5099282eb70 /demos/quickstart/protected/pages/Comments.page
parentb2e97539e7af7712b04dd5c2610a454d09aa0333 (diff)
Spelling error fixes.
Diffstat (limited to 'demos/quickstart/protected/pages/Comments.page')
-rw-r--r--demos/quickstart/protected/pages/Comments.page46
1 files changed, 0 insertions, 46 deletions
diff --git a/demos/quickstart/protected/pages/Comments.page b/demos/quickstart/protected/pages/Comments.page
deleted file mode 100644
index 32c7bcae..00000000
--- a/demos/quickstart/protected/pages/Comments.page
+++ /dev/null
@@ -1,46 +0,0 @@
-<com:TContent ID="body">
- <com:TDataList
- ID="comments"
- DataKeyField="id"
- OnEditCommand="editComment"
- OnCancelCommand="cancelEdit"
- OnUpdateCommand="updateComment"
- OnDeleteCommand="deleteComment"
- OnSelectedIndexChanged="approveComment"
- ItemStyle.BackColor="#BFCFFF"
- AlternatingItemStyle.BackColor="#E6ECFF"
- EditItemStyle.BackColor="lightgreen">
-
- <prop:HeaderTemplate>
- Comments awaiting approval
- </prop:HeaderTemplate>
-
- <prop:ItemTemplate>
- <span class="page"><%# $this->DataItem['page'] %></span>
- <span class="date">
- <com:TDateFormat Value=<%# intval($this->DataItem['date_added']) %> />
- </span>
- <span class="email">
- <%# $this->DataItem['email'] %>
- </span>
- <div class="comment">
- <com:TSafeHtml>
- <%# $this->DataItem['comment']%>
- </com:TSafeHtml>
- </div>
- <com:TLinkButton Text="Edit" CommandName="edit" />
- <com:TLinkButton Text="Delete" CommandName="delete"
- Attributes.onclick="if(!confirm('Are you sure?')) return false;" />
- <com:TLinkButton Text="Approve" CommandName="select" />
- </prop:ItemTemplate>
-
- <prop:EditItemTemplate>
- <com:TTextBox ID="email" Text=<%# $this->DataItem['email'] %> />
- <com:TTextBox ID="page" Text=<%# $this->DataItem['page'] %> />
- <com:TTextBox ID="content" Text=<%# $this->DataItem['comment'] %> TextMode="MultiLine"/>
- <com:TLinkButton Text="Save" CommandName="update" />
- <com:TLinkButton Text="Cancel" CommandName="cancel" />
- </prop:EditItemTemplate>
-
- </com:TDataList>
-</com:TContent> \ No newline at end of file