diff options
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r-- | h-source/Application/Controllers/UsersController.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php index c46da88..b55a461 100644 --- a/h-source/Application/Controllers/UsersController.php +++ b/h-source/Application/Controllers/UsersController.php @@ -117,6 +117,17 @@ class UsersController extends BaseController $this->append($data); $this->load('logout'); } + + public function info($lang = 'en') + { + $this->s['registered']->checkStatus(); + + $data['user_status'] = strcmp($this->islogged,'yes') === 0 ? 'logged' : 'not-logged'; + + $this->append($data); + $this->clean(); + $this->load('info'); + } public function add($lang = 'en') { |