Remove active extensions from the menu.

This commit is contained in:
Mark Crane
2015-01-09 20:23:13 +00:00
parent 2f1c63f245
commit fa1b0bc203
2 changed files with 18 additions and 38 deletions

View File

@@ -16,22 +16,4 @@
$apps[$x]['menu'][0]['path'] = "/app/calls_active/calls_active.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$apps[$x]['menu'][1]['title']['en-us'] = "Active Extensions";
$apps[$x]['menu'][1]['title']['es-cl'] = "Extensiones activas";
$apps[$x]['menu'][1]['title']['de-de'] = "";
$apps[$x]['menu'][1]['title']['de-ch'] = "";
$apps[$x]['menu'][1]['title']['de-at'] = "";
$apps[$x]['menu'][1]['title']['fr-fr'] = "Extentions actives";
$apps[$x]['menu'][1]['title']['fr-ca'] = "";
$apps[$x]['menu'][1]['title']['fr-ch'] = "";
$apps[$x]['menu'][1]['title']['pt-pt'] = "Extensões Activas";
$apps[$x]['menu'][1]['title']['pt-br'] = "";
$apps[$x]['menu'][1]['uuid'] = "6dd85c19-cb6b-5cca-bf32-499bbe936f79";
$apps[$x]['menu'][1]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][1]['category'] = "internal";
$apps[$x]['menu'][1]['path'] = "/app/calls_active/calls_active_extensions.php";
//$apps[$x]['menu'][1]['groups'][] = "user";
$apps[$x]['menu'][1]['groups'][] = "admin";
$apps[$x]['menu'][1]['groups'][] = "superadmin";
?>

View File

@@ -64,26 +64,24 @@
$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-cl'] = "Estado";
$apps[$x]['menu'][4]['title']['de-de'] = "";
$apps[$x]['menu'][4]['title']['de-ch'] = "";
$apps[$x]['menu'][4]['title']['de-at'] = "";
$apps[$x]['menu'][4]['title']['fr-fr'] = "Etat";
$apps[$x]['menu'][4]['title']['fr-ca'] = "";
$apps[$x]['menu'][4]['title']['fr-ch'] = "";
$apps[$x]['menu'][4]['title']['pt-pt'] = "Estado";
$apps[$x]['menu'][4]['title']['pt-br'] = "";
$apps[$x]['menu'][4]['uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][4]['parent_uuid'] = "";
$apps[$x]['menu'][4]['category'] = "internal";
$apps[$x]['menu'][4]['path'] = "/app/calls_active/calls_active_extensions.php";
$apps[$x]['menu'][4]['order'] = "25";
$apps[$x]['menu'][4]['groups'][] = "user";
$apps[$x]['menu'][4]['groups'][] = "admin";
$apps[$x]['menu'][4]['groups'][] = "superadmin";
}
$apps[$x]['menu'][4]['title']['en-us'] = "Status";
$apps[$x]['menu'][4]['title']['es-cl'] = "Estado";
$apps[$x]['menu'][4]['title']['de-de'] = "";
$apps[$x]['menu'][4]['title']['de-ch'] = "";
$apps[$x]['menu'][4]['title']['de-at'] = "";
$apps[$x]['menu'][4]['title']['fr-fr'] = "Etat";
$apps[$x]['menu'][4]['title']['fr-ca'] = "";
$apps[$x]['menu'][4]['title']['fr-ch'] = "";
$apps[$x]['menu'][4]['title']['pt-pt'] = "Estado";
$apps[$x]['menu'][4]['title']['pt-br'] = "";
$apps[$x]['menu'][4]['uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][4]['parent_uuid'] = "";
$apps[$x]['menu'][4]['category'] = "internal";
$apps[$x]['menu'][4]['path'] = "";
$apps[$x]['menu'][4]['order'] = "25";
$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-cl'] = "Avanzado";