mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:50:15 +00:00
Move admin/tos to src/Module
- Add Module\Admin\Tos class - Add route for admin/tos - Add admin aside menu entry - Remove admin_page_tos and admin_page_tos_post from mod/admin.php
This commit is contained in:
parent
35d222f95d
commit
488e425416
4 changed files with 58 additions and 57 deletions
|
@ -52,6 +52,9 @@ abstract class BaseAdminModule extends BaseModule
|
|||
'overview' => ['admin' , L10n::t('Overview') , 'overview'],
|
||||
'federation' => ['admin/federation' , L10n::t('Federation Statistics') , 'federation']
|
||||
]],
|
||||
'configuration' => [L10n::t('Configuration'), [
|
||||
'tos' => ['admin/tos' , L10n::t('Terms of Service') , 'tos'],
|
||||
]],
|
||||
];
|
||||
|
||||
$addons_admin = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue