little work on installation; replace hardcoded strings with variables/constants; update dependencies
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -161,13 +161,13 @@ return [
|
||||
'show_element' => (!Settings::IsInList('panel.customer_hide_options', 'misc.documentation')),
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'https://docs.froxlor.org/v2/user-guide/',
|
||||
'url' => \Froxlor\Froxlor::DOCS_URL . 'user-guide/',
|
||||
'label' => lng('admin.userguide'),
|
||||
'new_window' => true,
|
||||
'is_external' => true,
|
||||
],
|
||||
[
|
||||
'url' => 'https://docs.froxlor.org/v2/api-guide/',
|
||||
'url' => \Froxlor\Froxlor::DOCS_URL . 'api-guide/',
|
||||
'label' => lng('admin.apiguide'),
|
||||
'new_window' => true,
|
||||
'show_element' => Settings::Get('api.enabled') == 1 && CurrentUser::getField('api_allowed') == 1,
|
||||
@@ -348,13 +348,13 @@ return [
|
||||
'icon' => 'fa-solid fa-circle-info',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'https://docs.froxlor.org/v2/admin-guide/',
|
||||
'url' => \Froxlor\Froxlor::DOCS_URL . 'admin-guide/',
|
||||
'label' => lng('admin.adminguide'),
|
||||
'new_window' => true,
|
||||
'is_external' => true,
|
||||
],
|
||||
[
|
||||
'url' => 'https://docs.froxlor.org/v2/api-guide/',
|
||||
'url' => \Froxlor\Froxlor::DOCS_URL . 'api-guide/',
|
||||
'label' => lng('admin.apiguide'),
|
||||
'new_window' => true,
|
||||
'show_element' => Settings::Get('api.enabled') == 1,
|
||||
|
||||
Reference in New Issue
Block a user