diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-11-02 12:40:21 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-11-02 12:40:21 +0000 |
commit | 4daafefd0c29440c6fbad2239be2803ad04b92cd (patch) | |
tree | 05015ae5c876c7cc60ccca207f21e398ce99b5f2 /h-source/Application/Controllers/MyController.php | |
parent | 049e37619a1ea7de4eed2695139645d6d6b9f397 (diff) |
moderators can block/unblock users - part 2
Diffstat (limited to 'h-source/Application/Controllers/MyController.php')
-rw-r--r-- | h-source/Application/Controllers/MyController.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/MyController.php b/h-source/Application/Controllers/MyController.php index 07c6190..c2b715f 100644 --- a/h-source/Application/Controllers/MyController.php +++ b/h-source/Application/Controllers/MyController.php @@ -46,9 +46,12 @@ class MyController extends BaseController $data['title'] = 'my panel - '.Website::$generalName; $this->s['registered']->check(); + $clean['id_user'] = (int)$this->s['registered']->status['id_user']; $data['username'] = $this->m['UsersModel']->getUser($clean['id_user']); + $data['isBlocked'] = $this->m['UsersModel']->isBlocked($clean['id_user']); + $this->append($data); $this->load('panel'); $this->right($this->lang); |