mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Template/Update (Part 40)
* convert 'guides' (listing, viewing, writing & management) * don't allow comments on WIP guides
This commit is contained in:
@@ -253,7 +253,7 @@ class UserBaseResponse extends TemplateResponse
|
||||
}
|
||||
|
||||
// My Guides
|
||||
$guides = new GuideList(['status', [GUIDE_STATUS_APPROVED, GUIDE_STATUS_ARCHIVED]], ['userId', $this->user['id']]);
|
||||
$guides = new GuideList(['status', [GuideMgr::STATUS_APPROVED, GuideMgr::STATUS_ARCHIVED]], ['userId', $this->user['id']]);
|
||||
if (!$guides->error)
|
||||
{
|
||||
$this->lvTabs->addListviewTab(new Listview(array(
|
||||
|
||||
Reference in New Issue
Block a user