AccountSettings: list tags owned by current user
This commit is contained in:
1 parent
daa8b051c5
commit
a76dde927b
3 files changed
+56
No files matched your search
@@ -73,6 +73,11 @@ class AccountSettings extends HTMLController
|
||||
$formview = new FormView($form, $form_title);
|
||||
$this->page->adopt($formview);
|
||||
|
||||
// Fetch user tags
|
||||
$tags = Tag::getAllByOwner($user->getUserId());
|
||||
if (!empty($tags))
|
||||
$this->page->adopt(new MyTagsView($tags));
|
||||
|
||||
// Left a message?
|
||||
if (isset($_SESSION['account_msg']))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user