aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/GenericController.php4
-rw-r--r--h-source/Application/Controllers/HistoryController.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php
index da2f87a..eececc9 100644
--- a/h-source/Application/Controllers/GenericController.php
+++ b/h-source/Application/Controllers/GenericController.php
@@ -503,12 +503,12 @@ class GenericController extends BaseController
session_start();
if ( isset($_SESSION['notebook_inserted']) and strcmp($this->controller,'notebooks') === 0 )
{
- $viewFilesList = 'suggest_dialog,dialog,page,if_page_deleted';
+ $viewFilesList = 'suggest_dialog,dialog,page,if_page_deleted,moderator_dialog';
unset($_SESSION['notebook_inserted']);
}
else
{
- $viewFilesList = 'dialog,page,if_page_deleted';
+ $viewFilesList = 'dialog,page,if_page_deleted,moderator_dialog';
}
$this->loadViewAll($viewFilesList);
diff --git a/h-source/Application/Controllers/HistoryController.php b/h-source/Application/Controllers/HistoryController.php
index 71055fc..ead0886 100644
--- a/h-source/Application/Controllers/HistoryController.php
+++ b/h-source/Application/Controllers/HistoryController.php
@@ -261,7 +261,7 @@ class HistoryController extends BaseController
'id_name' => 'id_hard',
'field_name' => '-deleted',
'actions' => array('devicehide','deviceshow'),
- 'group' => 'moderator',
+ 'group' => 'admin',
),
);