app_config.php 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Services";
  4. $apps[$x]['uuid'] = "35ff1f56-513a-1f6c-a393-955838ff12ee";
  5. $apps[$x]['category'] = "System";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.0";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Monitor System Services.";
  11. $apps[$x]['description']['ar-eg'] = "";
  12. $apps[$x]['description']['de-at'] = "Systemdienste überwachen.";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-de'] = "Systemdienste überwachen.";
  15. $apps[$x]['description']['es-cl'] = "Monitor de Servicios de Sistema";
  16. $apps[$x]['description']['es-mx'] = "";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-fr'] = "Contrôler les services du système.";
  19. $apps[$x]['description']['he-il'] = "";
  20. $apps[$x]['description']['it-it'] = "";
  21. $apps[$x]['description']['nl-nl'] = "";
  22. $apps[$x]['description']['pl-pl'] = "";
  23. $apps[$x]['description']['pt-br'] = "";
  24. $apps[$x]['description']['pt-pt'] = "Monitorizar Serviços do Sistema.";
  25. $apps[$x]['description']['ro-ro'] = "";
  26. $apps[$x]['description']['ru-ru'] = "";
  27. $apps[$x]['description']['sv-se'] = "";
  28. $apps[$x]['description']['uk-ua'] = "";
  29. //permission details
  30. $y=0;
  31. $apps[$x]['permissions'][$y]['name'] = "service_view";
  32. $apps[$x]['permissions'][$y]['menu']['uuid'] = "c28f14e9-e5ad-e992-0931-d5f5f0db6a79";
  33. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  34. $y++;
  35. $apps[$x]['permissions'][$y]['name'] = "service_add";
  36. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  37. $y++;
  38. $apps[$x]['permissions'][$y]['name'] = "service_edit";
  39. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  40. $y++;
  41. $apps[$x]['permissions'][$y]['name'] = "service_delete";
  42. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  43. //schema details
  44. $y=0;
  45. $apps[$x]['db'][$y]['table']['name'] = "v_services";
  46. $apps[$x]['db'][$y]['table']['parent'] = "";
  47. $z=0;
  48. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  49. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "service_id";
  50. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  51. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  52. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  53. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  54. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  55. $z++;
  56. $apps[$x]['db'][$y]['fields'][$z]['name'] = "service_uuid";
  57. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  58. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  59. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  60. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  61. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  62. $z++;
  63. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  64. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  65. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  66. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  67. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  68. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  69. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  70. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  71. $z++;
  72. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  73. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  74. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  75. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  76. $z++;
  77. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "service_name";
  78. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "v_service_name";
  79. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  80. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  81. $z++;
  82. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "service_type";
  83. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "v_service_type";
  84. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  85. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  86. $z++;
  87. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "service_data";
  88. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "v_service_data";
  89. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  90. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  91. $z++;
  92. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "service_cmd_start";
  93. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "v_service_cmd_start";
  94. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  95. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  96. $z++;
  97. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "service_cmd_stop";
  98. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "v_service_cmd_stop";
  99. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  100. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  101. $z++;
  102. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "service_cmd_restart";
  103. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "v_service_cmd_restart";
  104. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  105. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  106. $z++;
  107. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "service_description";
  108. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "v_service_description";
  109. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  110. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  111. ?>