Update the base menu for better defaults.
This commit is contained in:
parent
1df6d68c31
commit
57aa300ce4
|
|
@ -33,7 +33,6 @@
|
|||
$apps[$x]['menu'][0]['parent_uuid'] = '02194288-6d56-6d3e-0b1a-d53a2bc10788';
|
||||
$apps[$x]['menu'][0]['category'] = 'internal';
|
||||
$apps[$x]['menu'][0]['path'] = '/core/menu/menu.php';
|
||||
|
||||
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['menu'][1]['title']['en-us'] = 'System';
|
||||
|
|
@ -68,12 +67,13 @@
|
|||
$apps[$x]['menu'][2]['uuid'] = 'bc96d773-ee57-0cdd-c3ac-2d91aba61b55';
|
||||
$apps[$x]['menu'][2]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][2]['category'] = 'internal';
|
||||
$apps[$x]['menu'][2]['path'] = '/app/extensions/extensions.php';
|
||||
$apps[$x]['menu'][2]['path'] = '/core/users/index.php';
|
||||
$apps[$x]['menu'][2]['order'] = '10';
|
||||
$apps[$x]['menu'][2]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][2]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['menu'][3]['title']['en-us'] = 'Dialplan2';
|
||||
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/vars/app_config.php")) {
|
||||
$apps[$x]['menu'][3]['title']['en-us'] = 'Dialplan';
|
||||
$apps[$x]['menu'][3]['uuid'] = 'b94e8bd9-9eb5-e427-9c26-ff7a6c21552a';
|
||||
$apps[$x]['menu'][3]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][3]['category'] = 'internal';
|
||||
|
|
@ -81,7 +81,9 @@
|
|||
$apps[$x]['menu'][3]['order'] = '15';
|
||||
$apps[$x]['menu'][3]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][3]['groups'][] = 'superadmin';
|
||||
}
|
||||
|
||||
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/calls_active/calls_active_extensions.php")) {
|
||||
$apps[$x]['menu'][4]['title']['en-us'] = 'Status';
|
||||
$apps[$x]['menu'][4]['title']['es-mx'] = '';
|
||||
$apps[$x]['menu'][4]['title']['de'] = '';
|
||||
|
|
@ -100,6 +102,7 @@
|
|||
$apps[$x]['menu'][4]['groups'][] = 'user';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'superadmin';
|
||||
}
|
||||
|
||||
$apps[$x]['menu'][5]['title']['en-us'] = 'Advanced';
|
||||
$apps[$x]['menu'][5]['title']['es-mx'] = '';
|
||||
|
|
@ -114,7 +117,7 @@
|
|||
$apps[$x]['menu'][5]['uuid'] = '594d99c5-6128-9c88-ca35-4b33392cec0f';
|
||||
$apps[$x]['menu'][5]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][5]['category'] = 'internal';
|
||||
$apps[$x]['menu'][5]['path'] = '/app/exec/exec.php';
|
||||
$apps[$x]['menu'][5]['path'] = '/core/domain_settings/domains.php';
|
||||
$apps[$x]['menu'][5]['order'] = '30';
|
||||
$apps[$x]['menu'][5]['groups'][] = 'superadmin';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue