aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/SpecialController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/SpecialController.php')
-rw-r--r--h-source/Application/Controllers/SpecialController.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/SpecialController.php b/h-source/Application/Controllers/SpecialController.php
index 480c0fa..eb80582 100644
--- a/h-source/Application/Controllers/SpecialController.php
+++ b/h-source/Application/Controllers/SpecialController.php
@@ -75,6 +75,19 @@ class SpecialController extends BaseController
$viewFile = 'modactions';
break;
+
+ case 'usersactions':
+ $data['title'] = 'last registered users actions - '.Website::$generalName;
+ $data['viewTitle'] = 'List of actions carried out by registered users';
+ $data['user_status'] = 'USER';
+
+ $whereClauseArray = array(
+ 'gr' => 'registered',
+ );
+
+ $viewFile = 'modactions';
+
+ break;
}
$this->helper('Pages','special/'.$this->action.'/'.$this->lang,'page');
@@ -144,6 +157,15 @@ class SpecialController extends BaseController
$this->last($lang = 'en','adminactions');
}
+ public function usersactions($lang = 'en')
+ {
+ $this->shift(1);
+
+ $this->s['registered']->check('moderator');
+
+ $this->last($lang = 'en','usersactions');
+ }
+
protected function pagelist($lang = 'en', $type)
{
switch ($type)