mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00

-Admin menu updates -Moved getchangelogtype/where to functions file and added to twig -Added changelog editor to admin panel and updated changelog page -Renamed the changelog md reader to clmd and edited the version file.
49 lines
1.5 KiB
PHP
49 lines
1.5 KiB
PHP
<?php
|
|
|
|
return [
|
|
['name' => 'Dashboard', 'icon' => 'tachometer-alt', 'link' => 'dashboard'],
|
|
['name' => 'News', 'icon' => 'newspaper', 'link' =>
|
|
[
|
|
['name' => 'View', 'link' => 'news'],
|
|
['name' => 'Add news', 'link' => 'news&action=new&type=1'],
|
|
['name' => 'Add ticker', 'link' => 'news&action=new&type=2'],
|
|
['name' => 'Add article', 'link' => 'news&action=new&type=3'],
|
|
],
|
|
],
|
|
['name' => 'Changelogs', 'icon' => 'newspaper', 'link' =>
|
|
[
|
|
['name' => 'View', 'link' => 'changelog'],
|
|
['name' => 'Add', 'link' => 'changelog&action=new'],
|
|
],
|
|
],
|
|
['name' => 'Mailer', 'icon' => 'envelope', 'link' => 'mailer', 'disabled' => !config('mail_enabled')],
|
|
['name' => 'Pages', 'icon' => 'book', 'link' =>
|
|
[
|
|
['name' => 'View', 'link' => 'pages'],
|
|
['name' => 'Add', 'link' => 'pages&action=new'],
|
|
],
|
|
],
|
|
['name' => 'Menus', 'icon' => 'list', 'link' => 'menus'],
|
|
['name' => 'Plugins', 'icon' => 'plug', 'link' => 'plugins'],
|
|
['name' => 'Server Data', 'icon' => 'gavel', 'link' => 'data'],
|
|
['name' => 'Editor', 'icon' => 'edit', 'link' =>
|
|
[
|
|
['name' => 'Accounts', 'link' => 'accounts'],
|
|
['name' => 'Players', 'link' => 'players'],
|
|
],
|
|
],
|
|
['name' => 'Tools', 'icon' => 'tools', 'link' =>
|
|
[
|
|
['name' => 'Notepad', 'link' => 'notepad'],
|
|
['name' => 'phpinfo', 'link' => 'phpinfo'],
|
|
],
|
|
],
|
|
['name' => 'Logs', 'icon' => 'bug', 'link' =>
|
|
[
|
|
['name' => 'Logs', 'link' => 'logs'],
|
|
['name' => 'Reports', 'link' => 'reports'],
|
|
['name' => 'Visitors', 'icon' => 'user', 'link' => 'visitors'],
|
|
],
|
|
],
|
|
];
|