Move the menu array to app_menu.php
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
//application details
|
||||
$apps[$x]['name'] = "Hot Desking";
|
||||
$apps[$x]['uuid'] = "f4ae30f0-68ff-46d2-afd3-34caff2887c9";
|
||||
@@ -19,24 +20,6 @@
|
||||
$apps[$x]['description']['pt-pt'] = "Habilitar o escritório remoto recorrendo a um ID e à password do correio de voz para encaminhar as chamadas para uma extensão remota. Em seguida, fazer e receber ligações como se estivesse a utilizar a sua extensão.";
|
||||
$apps[$x]['description']['pt-br'] = "";
|
||||
|
||||
//menu details
|
||||
$apps[$x]['menu'][0]['title']['en-us'] = "Hot Desking";
|
||||
$apps[$x]['menu'][0]['title']['es-cl'] = "Escritorio remoto";
|
||||
$apps[$x]['menu'][0]['title']['es-mx'] = "Escritorio remoto";
|
||||
$apps[$x]['menu'][0]['title']['de-de'] = "";
|
||||
$apps[$x]['menu'][0]['title']['de-ch'] = "";
|
||||
$apps[$x]['menu'][0]['title']['de-at'] = "";
|
||||
$apps[$x]['menu'][0]['title']['fr-fr'] = "Itinérance";
|
||||
$apps[$x]['menu'][0]['title']['fr-ca'] = "Bureau Lointain";
|
||||
$apps[$x]['menu'][0]['title']['fr-ch'] = "";
|
||||
$apps[$x]['menu'][0]['title']['pt-pt'] = "Escritório Remoto";
|
||||
$apps[$x]['menu'][0]['title']['pt-br'] = "";
|
||||
$apps[$x]['menu'][0]['uuid'] = "baa57691-37d4-4c7d-b227-f2929202b480";
|
||||
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
|
||||
$apps[$x]['menu'][0]['category'] = "internal";
|
||||
$apps[$x]['menu'][0]['path'] = "/app/hot_desking/index.php";
|
||||
$apps[$x]['menu'][0]['groups'][] = "superadmin";
|
||||
|
||||
//permission details
|
||||
$apps[$x]['permissions'][0]['name'] = "hot_desk_view";
|
||||
$apps[$x]['permissions'][0]['menu']['uuid'] = "baa57691-37d4-4c7d-b227-f2929202b480";
|
||||
@@ -51,4 +34,4 @@
|
||||
$apps[$x]['permissions'][3]['name'] = "hot_desk_delete";
|
||||
$apps[$x]['permissions'][3]['groups'][] = "superadmin";
|
||||
|
||||
?>
|
||||
?>
|
||||
@@ -1 +1,20 @@
|
||||
<?php
|
||||
|
||||
$apps[$x]['menu'][0]['title']['en-us'] = "Hot Desking";
|
||||
$apps[$x]['menu'][0]['title']['es-cl'] = "Escritorio remoto";
|
||||
$apps[$x]['menu'][0]['title']['es-mx'] = "Escritorio remoto";
|
||||
$apps[$x]['menu'][0]['title']['de-de'] = "";
|
||||
$apps[$x]['menu'][0]['title']['de-ch'] = "";
|
||||
$apps[$x]['menu'][0]['title']['de-at'] = "";
|
||||
$apps[$x]['menu'][0]['title']['fr-fr'] = "Itinérance";
|
||||
$apps[$x]['menu'][0]['title']['fr-ca'] = "Bureau Lointain";
|
||||
$apps[$x]['menu'][0]['title']['fr-ch'] = "";
|
||||
$apps[$x]['menu'][0]['title']['pt-pt'] = "Escritório Remoto";
|
||||
$apps[$x]['menu'][0]['title']['pt-br'] = "";
|
||||
$apps[$x]['menu'][0]['uuid'] = "baa57691-37d4-4c7d-b227-f2929202b480";
|
||||
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
|
||||
$apps[$x]['menu'][0]['category'] = "internal";
|
||||
$apps[$x]['menu'][0]['path'] = "/app/hot_desking/index.php";
|
||||
$apps[$x]['menu'][0]['groups'][] = "superadmin";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user