1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-03 19:57:57 +02:00

Monstra Dashboard #204

This commit is contained in:
Awilum
2014-01-08 00:44:05 +02:00
parent 2bc94dbe6a
commit 27d55c2e51
3 changed files with 60 additions and 7 deletions

View File

@@ -17,11 +17,14 @@ Plugin::register( __FILE__,
__('Dashboard plugin for Monstra', 'dashboard'),
'1.0.0',
'Awilum',
'http://monstra.org/');
'http://monstra.org/',
null,
'box');
// Load Sandbox Admin for Editor and Admin
if (Session::exists('user_role') && in_array(Session::get('user_role'), array('admin', 'editor'))) {
Plugin::admin('dashboard');
Plugin::admin('dashboard', 'box');
}