Move the menu array to app_menu.php

This commit is contained in:
Mark Crane
2014-12-26 03:27:54 +00:00
parent 6d98ffc320
commit ddca77629e
127 changed files with 1607 additions and 1486 deletions
+2 -18
View File
@@ -1,4 +1,5 @@
<?php
//application details
$apps[$x]['name'] = "Operator Panel";
$apps[$x]['uuid'] = 'dd3d173a-5d51-4231-ab22-b18c5b712bb2';
@@ -18,24 +19,6 @@
$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'] = '';
$apps[$x]['menu'][0]['uuid'] = 'dd3d173a-5d51-4231-ab22-b18c5b712bb2';
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
$apps[$x]['menu'][0]['category'] = 'internal';
$apps[$x]['menu'][0]['path'] = '/app/operator_panel/index.php';
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
$apps[$x]['menu'][0]['groups'][] = 'admin';
//permission details
$y = 0;
$apps[$x]['permissions'][$y]['name'] = 'operator_panel_view';
@@ -57,4 +40,5 @@
$apps[$x]['permissions'][$y]['name'] = 'operator_panel_record';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
?>