diff options
author | xue <> | 2006-05-30 21:21:40 +0000 |
---|---|---|
committer | xue <> | 2006-05-30 21:21:40 +0000 |
commit | ac746689f6ba6efc4e8fac69d19e4daa7393d7fb (patch) | |
tree | e26999746f304fac97f695b00c47bb9c235e2dfa /demos/blog/protected/Pages | |
parent | ce220e042d0eca45e5dc1226ea04c7ec68dd71f8 (diff) |
Fixed #197
Diffstat (limited to 'demos/blog/protected/Pages')
-rw-r--r-- | demos/blog/protected/Pages/Posts/ListPost.page | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/blog/protected/Pages/Posts/ListPost.page b/demos/blog/protected/Pages/Posts/ListPost.page index 4c96d6fb..1371a5ab 100644 --- a/demos/blog/protected/Pages/Posts/ListPost.page +++ b/demos/blog/protected/Pages/Posts/ListPost.page @@ -3,6 +3,12 @@ <com:TPanel ID="CategoryPanel" Visible="false" CssClass="category">
<div class="category-name">
<%= $this->Category->Name %>
+<com:THyperLink
+ Text="[#]"
+ Tooltip="Edit this category"
+ Visible=<%= $this->User->IsAdmin %>
+ NavigateUrl=<%= $this->Service->constructUrl('Posts.EditCategory',array('id'=>$this->Category->ID)) %>
+ />
<com:TLinkButton
Text="[-]"
Tooltip="Delete this category"
|