diff options
author | xue <> | 2006-05-31 00:33:26 +0000 |
---|---|---|
committer | xue <> | 2006-05-31 00:33:26 +0000 |
commit | e3b10414305b181aa4e39e211cf6b0e9bf992518 (patch) | |
tree | 780cf0f0eab6ca0a216a3cdbc960ac4585eaf922 /demos/blog/protected/Pages/Admin/PostMan.page | |
parent | ac746689f6ba6efc4e8fac69d19e4daa7393d7fb (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.page | 5 |
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>
|