diff options
author | xue <> | 2006-05-31 01:00:38 +0000 |
---|---|---|
committer | xue <> | 2006-05-31 01:00:38 +0000 |
commit | bf900e824f2c661df6380fd0360c13377da58bae (patch) | |
tree | 283c3eb5d38d64684fdc5aedab44dcf28752c7f3 /demos/blog/protected/Pages/Admin | |
parent | e3b10414305b181aa4e39e211cf6b0e9bf992518 (diff) |
Fixed a few issues with the blog system.
Diffstat (limited to 'demos/blog/protected/Pages/Admin')
-rw-r--r-- | demos/blog/protected/Pages/Admin/PostMan.page | 2 | ||||
-rw-r--r-- | demos/blog/protected/Pages/Admin/PostMan.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/blog/protected/Pages/Admin/PostMan.page b/demos/blog/protected/Pages/Admin/PostMan.page index 8c78574c..68ac44f8 100644 --- a/demos/blog/protected/Pages/Admin/PostMan.page +++ b/demos/blog/protected/Pages/Admin/PostMan.page @@ -60,7 +60,7 @@ <com:TBoundColumn
HeaderText="Time"
ReadOnly="true"
- DataField="CreateTime"
+ DataField="ModifyTime"
DataFormatString="#date('M j, Y',{0})"
ItemStyle.Wrap="false"
ItemStyle.Width="90px"
diff --git a/demos/blog/protected/Pages/Admin/PostMan.php b/demos/blog/protected/Pages/Admin/PostMan.php index 349278fc..09c1809c 100644 --- a/demos/blog/protected/Pages/Admin/PostMan.php +++ b/demos/blog/protected/Pages/Admin/PostMan.php @@ -23,7 +23,7 @@ class PostMan extends BlogPage {
$offset=$this->PostGrid->CurrentPageIndex*$this->PostGrid->PageSize;
$limit=$this->PostGrid->PageSize;
- $this->PostGrid->DataSource=$this->DataAccess->queryPosts('','','ORDER BY a.status DESC, create_time DESC',"LIMIT $offset,$limit");
+ $this->PostGrid->DataSource=$this->DataAccess->queryPosts('','','ORDER BY a.status DESC, modify_time DESC',"LIMIT $offset,$limit");
$this->PostGrid->VirtualItemCount=$this->DataAccess->queryPostCount('','');
$this->PostGrid->dataBind();
}
|