2014-12-03 12:05:13 +01:00
|
|
|
<?php
|
|
|
|
|
//application details
|
|
|
|
|
$apps[$x]['name'] = "Operator Panel";
|
2014-12-03 13:35:52 +01:00
|
|
|
$apps[$x]['uuid'] = 'dd3d173a-5d51-4231-ab22-b18c5b712bb2';
|
2014-12-03 12:05:13 +01:00
|
|
|
$apps[$x]['category'] = 'Switch';
|
|
|
|
|
$apps[$x]['subcategory'] = '';
|
|
|
|
|
$apps[$x]['version'] = '';
|
|
|
|
|
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
|
|
|
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
|
|
|
|
$apps[$x]['description']['en-us'] = 'Operator panel shows the status.';
|
|
|
|
|
$apps[$x]['description']['es-mx'] = '';
|
|
|
|
|
$apps[$x]['description']['de'] = '';
|
|
|
|
|
$apps[$x]['description']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['de-at'] = '';
|
|
|
|
|
$apps[$x]['description']['fr'] = '';
|
|
|
|
|
$apps[$x]['description']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = 'Canais ativos no sistema.';
|
|
|
|
|
$apps[$x]['description']['pt-br'] = '';
|
|
|
|
|
|
|
|
|
|
//menu details
|
|
|
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'Operator Panel';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
2014-12-03 13:35:52 +01:00
|
|
|
$apps[$x]['menu'][0]['uuid'] = 'dd3d173a-5d51-4231-ab22-b18c5b712bb2';
|
|
|
|
|
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
2014-12-03 12:05:13 +01:00
|
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
|
|
|
$apps[$x]['menu'][0]['path'] = '/app/operator_panel/index.php';
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
2014-12-03 13:35:52 +01:00
|
|
|
$apps[$x]['menu'][0]['groups'][] = 'admin';
|
2014-12-03 12:05:13 +01:00
|
|
|
|
|
|
|
|
//permission details
|
2014-12-09 04:38:02 +01:00
|
|
|
$y = 0;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'operator_panel_view';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'operator_panel_manage';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'operator_panel_eavesdrop';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'operator_panel_kill';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'operator_panel_record';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
2014-12-03 12:05:13 +01:00
|
|
|
?>
|