app_config.php 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Domain Settings";
  4. $apps[$x]['uuid'] = "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']['en-gb'] = "Settings assigned to a particular domain.";
  12. $apps[$x]['description']['ar-eg'] = "الإعدادات المخصصة لمجال معين.";
  13. $apps[$x]['description']['de-at'] = "Verwalte eine einzelne Domäne oder mehrere Domänen für Multi-Mandanten.";
  14. $apps[$x]['description']['de-ch'] = "Einer bestimmten Domäne zugewiesene Einstellungen.";
  15. $apps[$x]['description']['de-de'] = "Verwalte eine einzelne Domäne oder mehrere Domänen für Multi-Mandanten.";
  16. $apps[$x]['description']['es-cl'] = "Administre un único dominio o múltiples dominios";
  17. $apps[$x]['description']['es-mx'] = "Configuración asignada a un dominio en particular.";
  18. $apps[$x]['description']['el-gr'] = "Ρυθμίσεις που έχουν εκχωρηθεί σε έναν συγκεκριμένο τομέα.";
  19. $apps[$x]['description']['fr-ca'] = "Paramètres attribués à un domaine particulier.";
  20. $apps[$x]['description']['fr-fr'] = "Gestion d'un domaine ou plusieurs dans le cas d'un système multi-parties.";
  21. $apps[$x]['description']['he-il'] = "הגדרות שהוקצו לדומיין מסוים.";
  22. $apps[$x]['description']['it-it'] = "Impostazioni assegnate a un determinato dominio.";
  23. $apps[$x]['description']['ka-ge'] = "მითითებულ დომენზე მინიჭებული პარამეტრები.";
  24. $apps[$x]['description']['nl-nl'] = "Instellingen toegewezen aan een bepaald domein.";
  25. $apps[$x]['description']['pl-pl'] = "Ustawienia przypisane do konkretnej domeny.";
  26. $apps[$x]['description']['pt-br'] = "Configurações atribuídas a um domínio específico.";
  27. $apps[$x]['description']['pt-pt'] = "Gerir um único domínio ou vários domínios para multi-tenant.";
  28. $apps[$x]['description']['ro-ro'] = "Setări atribuite unui anumit domeniu.";
  29. $apps[$x]['description']['ru-ru'] = "Управление одним доменом или несколькими доменами для нескольких пользователей";
  30. $apps[$x]['description']['sv-se'] = "Inställningar tilldelade en viss domän.";
  31. $apps[$x]['description']['uk-ua'] = "Налаштування, призначені для певного домену.";
  32. //permission details
  33. $y=0;
  34. $apps[$x]['permissions'][$y]['name'] = "domain_setting_view";
  35. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  36. $y++;
  37. $apps[$x]['permissions'][$y]['name'] = "domain_setting_add";
  38. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  39. $y++;
  40. $apps[$x]['permissions'][$y]['name'] = "domain_setting_edit";
  41. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  42. $y++;
  43. $apps[$x]['permissions'][$y]['name'] = "domain_setting_delete";
  44. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. $y++;
  46. $apps[$x]['permissions'][$y]['name'] = "domain_setting_category_edit";
  47. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  48. //schema details
  49. $y=0;
  50. $apps[$x]['db'][$y]['table']['name'] = "v_domain_settings";
  51. $apps[$x]['db'][$y]['table']['parent'] = "v_domains";
  52. $z=0;
  53. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  54. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  55. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  56. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  57. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  58. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  59. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  60. $z++;
  61. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_uuid";
  62. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  63. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  64. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  65. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  66. $z++;
  67. $apps[$x]['db'][$y]['fields'][$z]['name'] = "app_uuid";
  68. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  69. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  70. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  71. $z++;
  72. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_category";
  73. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  74. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  75. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  76. $z++;
  77. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_subcategory";
  78. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  79. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  80. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
  81. $z++;
  82. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_name";
  83. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  84. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  85. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  86. $z++;
  87. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_value";
  88. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  89. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  90. $z++;
  91. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_order";
  92. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  93. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  94. $z++;
  95. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_enabled";
  96. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
  97. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  98. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
  99. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  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. $z++;
  107. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  108. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  109. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  110. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  111. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  112. $z++;
  113. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  114. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  115. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  116. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  117. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  118. $z++;
  119. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  120. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  121. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  122. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  123. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  124. $z++;
  125. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  126. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  127. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  128. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  129. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  130. ?>