aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/UsersController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-03-13 00:42:19 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-03-13 00:42:19 +0000
commite7eebe74d672416ccbe0dd837d5ef3d5bda145cb (patch)
tree8537aedac5ada02578e37c429b788adcaefc5c35 /h-source/Application/Controllers/UsersController.php
parentc6e6d09dba4bb4807e5c6b4f8d23954019c6b38d (diff)
modified UsersController.php
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r--h-source/Application/Controllers/UsersController.php11
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')
{