<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\AdminManager\Core; use Illuminate\Events\Dispatcher; use Illuminate\Support\ServiceProvider; use ModStart\Admin\Config\AdminMenu; class ModuleServiceProvider extends ServiceProvider { public function boot(Dispatcher $Nv3Ie) { AdminMenu::register(array(array('title' => L('Admin Manage'), 'icon' => 'user-o', 'sort' => 500, 'children' => array(array('title' => L('Admin Role'), 'url' => '\\ModStart\\Admin\\Controller\\AdminRoleController@index'), array('title' => L('Admin Role Manage'), 'rule' => 'AdminRoleManage', 'hide' => true), array('title' => L('Admin User'), 'url' => '\\ModStart\\Admin\\Controller\\AdminUserController@index'), array('title' => L('Admin User Manage'), 'rule' => 'AdminUserManage', 'hide' => true), array('title' => L('Admin Log'), 'url' => '\\ModStart\\Admin\\Controller\\AdminLogController@index'), array('title' => L('Admin Log Manage'), 'rule' => 'AdminLogManage', 'hide' => true), array('title' => L('Change password'), 'url' => '\\ModStart\\Admin\\Controller\\ProfileController@changePassword', 'hide' => true))), array('title' => L('System Manage'), 'icon' => 'code-alt', 'sort' => 700, 'children' => array(array('title' => L('System Manage'), 'rule' => 'SystemManage', 'url' => '\\ModStart\\Admin\\Controller\\SystemController@index', 'hide' => true), array('title' => L('Data File Manager View'), 'rule' => 'DataFileManagerView', 'url' => '\\ModStart\\Admin\\Controller\\DataController@index', 'hide' => true), array('title' => L('Data File Manager Upload'), 'rule' => 'DataFileManagerUpload', 'hide' => true), array('title' => L('Data File Manager Delete'), 'rule' => 'DataFileManagerDelete', 'hide' => true), array('title' => L('Data File Manager Add/Edit'), 'rule' => 'DataFileManagerAdd/Edit', 'hide' => true), array('title' => '系统升级', 'rule' => 'SystemUpgrade', 'hide' => true))))); } public function register() { } }