blessing-skin-server/config/menu.php

48 lines
2.5 KiB
PHP
Raw Normal View History

2016-07-21 22:01:57 +08:00
<?php
/*
|--------------------------------------------------------------------------
| Sidebar Menus
|--------------------------------------------------------------------------
|
| Register your custom sidebar menu here.
|
*/
2018-02-23 18:12:12 +08:00
$menu['user'] = [
2018-08-08 12:30:50 +08:00
['title' => 'general.dashboard', 'link' => 'user', 'icon' => 'fa-tachometer-alt'],
2018-02-23 18:12:12 +08:00
['title' => 'general.my-closet', 'link' => 'user/closet', 'icon' => 'fa-star'],
['title' => 'general.player-manage', 'link' => 'user/player', 'icon' => 'fa-users'],
['title' => 'general.my-reports', 'link' => 'user/reports', 'icon' => 'fa-flag'],
2018-02-23 18:12:12 +08:00
['title' => 'general.profile', 'link' => 'user/profile', 'icon' => 'fa-user'],
2019-04-25 23:24:24 +08:00
[
'title' => 'general.developer',
'icon' => 'fa-code-branch',
'children' => [
['title' => 'general.oauth-manage', 'link' => 'user/oauth/manage', 'icon' => 'fa-feather-alt'],
],
],
2018-02-23 18:12:12 +08:00
];
2016-07-21 22:01:57 +08:00
2018-02-23 18:12:12 +08:00
$menu['admin'] = [
2018-08-08 12:30:50 +08:00
['title' => 'general.dashboard', 'link' => 'admin', 'icon' => 'fa-tachometer-alt'],
2018-02-23 18:12:12 +08:00
['title' => 'general.user-manage', 'link' => 'admin/users', 'icon' => 'fa-users'],
['title' => 'general.player-manage', 'link' => 'admin/players', 'icon' => 'fa-gamepad'],
['title' => 'general.report-manage', 'link' => 'admin/reports', 'icon' => 'fa-flag'],
2018-02-23 18:12:12 +08:00
['title' => 'general.customize', 'link' => 'admin/customize', 'icon' => 'fa-paint-brush'],
2019-09-08 18:57:19 +08:00
['title' => 'general.i18n', 'link' => 'admin/i18n', 'icon' => 'fa-globe'],
2018-02-23 18:12:12 +08:00
['title' => 'general.score-options', 'link' => 'admin/score', 'icon' => 'fa-credit-card'],
2019-03-20 10:01:42 +08:00
['title' => 'general.options', 'link' => 'admin/options', 'icon' => 'fa-cog'],
['title' => 'general.res-options', 'link' => 'admin/resource', 'icon' => 'fa-atom'],
2019-08-28 11:39:00 +08:00
['title' => 'general.status', 'link' => 'admin/status', 'icon' => 'fa-battery-three-quarters'],
2018-02-23 18:12:12 +08:00
['title' => 'general.plugin-manage', 'link' => 'admin/plugins/manage', 'icon' => 'fa-plug'],
2019-09-08 09:22:51 +08:00
['title' => 'general.plugin-market', 'link' => 'admin/plugins/market', 'icon' => 'fa-shopping-bag'],
2018-02-23 18:12:12 +08:00
['title' => 'general.plugin-configs', 'id' => 'plugin-configs', 'icon' => 'fa-cogs', 'children' => []],
['title' => 'general.check-update', 'link' => 'admin/update', 'icon' => 'fa-arrow-up'],
];
2016-07-21 22:01:57 +08:00
2019-06-28 23:47:30 +08:00
$menu['explore'] = [
['title' => 'general.skinlib', 'link' => 'skinlib', 'icon' => 'fa-archive'],
];
2016-07-21 22:01:57 +08:00
return $menu;