app_config.php 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Domain Settings";
  4. $apps[$x]['guid'] = "b31e723a-bf70-670c-a49b-470d2a232f71";
  5. $apps[$x]['category'] = "Core";
  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'] = "Settings assigned to a particular domain.";
  11. $apps[$x]['description']['ar-eg'] = "";
  12. $apps[$x]['description']['de-at'] = "Verwalte eine einzelne Domäne oder mehrere Domänen für Multi-Mandanten.";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-de'] = "Verwalte eine einzelne Domäne oder mehrere Domänen für Multi-Mandanten.";
  15. $apps[$x]['description']['es-cl'] = "Administre un único dominio o múltiples dominios";
  16. $apps[$x]['description']['es-mx'] = "";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-fr'] = "Gestion d'un domaine ou plusieurs dans le cas d'un système multi-parties.";
  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'] = "Gerir um único domínio ou vários domínios para multi-tenant.";
  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'] = "domain_setting_view";
  32. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  33. $y++;
  34. $apps[$x]['permissions'][$y]['name'] = "domain_setting_add";
  35. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  36. $y++;
  37. $apps[$x]['permissions'][$y]['name'] = "domain_setting_edit";
  38. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  39. $y++;
  40. $apps[$x]['permissions'][$y]['name'] = "domain_setting_delete";
  41. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  42. $y++;
  43. $apps[$x]['permissions'][$y]['name'] = "domain_setting_category_edit";
  44. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. //schema details
  46. $y=0;
  47. $apps[$x]['db'][$y]['table']['name'] = "v_domain_settings";
  48. $apps[$x]['db'][$y]['table']['parent'] = "v_domains";
  49. $z=0;
  50. $apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
  51. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  52. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  53. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  54. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  55. $z++;
  56. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_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'] = "foreign";
  61. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  62. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  63. $z++;
  64. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_uuid";
  65. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  66. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  67. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  68. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  69. $z++;
  70. $apps[$x]['db'][$y]['fields'][$z]['name'] = "app_uuid";
  71. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  72. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  73. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  74. $z++;
  75. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_category";
  76. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  77. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  78. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  79. $z++;
  80. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_subcategory";
  81. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  82. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  83. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
  84. $z++;
  85. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_name";
  86. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  87. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  88. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  89. $z++;
  90. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_value";
  91. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  92. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  93. $z++;
  94. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_order";
  95. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  96. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  97. $z++;
  98. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_enabled";
  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'] = "domain_setting_description";
  103. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  104. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  105. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  106. ?>