summaryrefslogtreecommitdiff
path: root/demos/blog/protected/Pages/Admin/PostMan.page
diff options
context:
space:
mode:
authorxue <>2006-05-31 00:33:26 +0000
committerxue <>2006-05-31 00:33:26 +0000
commite3b10414305b181aa4e39e211cf6b0e9bf992518 (patch)
tree780cf0f0eab6ca0a216a3cdbc960ac4585eaf922 /demos/blog/protected/Pages/Admin/PostMan.page
parentac746689f6ba6efc4e8fac69d19e4daa7393d7fb (diff)
Added sticky feature for published posts.
Diffstat (limited to 'demos/blog/protected/Pages/Admin/PostMan.page')
-rw-r--r--demos/blog/protected/Pages/Admin/PostMan.page5
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/blog/protected/Pages/Admin/PostMan.page b/demos/blog/protected/Pages/Admin/PostMan.page
index 8ba8ef29..8c78574c 100644
--- a/demos/blog/protected/Pages/Admin/PostMan.page
+++ b/demos/blog/protected/Pages/Admin/PostMan.page
@@ -43,7 +43,9 @@
<%#
$this->Parent->DataItem->Status===0 ?
'Published' :
- ($this->Parent->DataItem->Status===1 ? 'Draft' : 'Pending')
+ ($this->Parent->DataItem->Status===1 ?
+ 'Draft' :
+ ($this->Parent->DataItem->Status===2 ? 'Pending' : 'Sticky'))
%>
</prop:ItemTemplate>
<prop:EditItemTemplate>
@@ -51,6 +53,7 @@
<com:TListItem Value="0" Text="Published" />
<com:TListItem Value="1" Text="Draft" />
<com:TListItem Value="2" Text="Pending" />
+ <com:TListItem Value="3" Text="Sticky" />
</com:TDropDownList>
</prop:EditItemTemplate>
</com:TTemplateColumn>