app_config.php 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Account Settings";
  4. $apps[$x]['uuid'] = "3a3337f7-78d1-23e3-0cfd-f14499b8ed97";
  5. $apps[$x]['category'] = "Switch";;
  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'] = "User account settings can be changed by the user.";
  11. $apps[$x]['description']['en-gb'] = "User account settings can be changed by the user.";
  12. $apps[$x]['description']['ar-eg'] = "";
  13. $apps[$x]['description']['de-at'] = "Einstellungen des Benutzerkontos können durch den Benutzer geändert werden.";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-de'] = "Einstellungen des Benutzerkontos können durch den Benutzer geändert werden.";
  16. $apps[$x]['description']['es-cl'] = "La configuración de la cuenta puede ser modificada por el usuario.";
  17. $apps[$x]['description']['es-mx'] = "";
  18. $apps[$x]['description']['fr-ca'] = "L'usager peut modifier la configuration de son compte";
  19. $apps[$x]['description']['fr-fr'] = "L'usager peut modifier la configuration de son compte";
  20. $apps[$x]['description']['he-il'] = "";
  21. $apps[$x]['description']['it-it'] = "";
  22. $apps[$x]['description']['ka-ge'] = "მომხმარებელს შეუძლია მომხმარებლის პარამეტრების შეცვლა.";
  23. $apps[$x]['description']['nl-nl'] = "";
  24. $apps[$x]['description']['pl-pl'] = "";
  25. $apps[$x]['description']['pt-br'] = "Configurações da conta podem ser alteradas pelo usuário.";
  26. $apps[$x]['description']['pt-pt'] = "Configurações de conta de utilizador pode ser alterado pelo utilizador.";
  27. $apps[$x]['description']['ro-ro'] = "";
  28. $apps[$x]['description']['ru-ru'] = "Настройки учетной записи могут быть изменены пользователем";
  29. $apps[$x]['description']['sv-se'] = "";
  30. $apps[$x]['description']['uk-ua'] = "";
  31. //permission details
  32. $y=0;
  33. $apps[$x]['permissions'][$y]['name'] = "user_setting_view";
  34. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  35. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  36. $y++;
  37. $apps[$x]['permissions'][$y]['name'] = "user_setting_add";
  38. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  39. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  40. $y++;
  41. $apps[$x]['permissions'][$y]['name'] = "user_setting_edit";
  42. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  43. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  44. $y++;
  45. $apps[$x]['permissions'][$y]['name'] = "user_setting_delete";
  46. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  47. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  48. $y++;
  49. $apps[$x]['permissions'][$y]['name'] = "user_setting_category_edit";
  50. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  51. //schema details
  52. $y=0;
  53. $apps[$x]['db'][$y]['table']['name'] = "v_user_settings";
  54. $apps[$x]['db'][$y]['table']['parent'] = "v_users";
  55. $z=0;
  56. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_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. $z++;
  62. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  63. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  64. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  65. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  66. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  67. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
  68. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  69. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  70. $z++;
  71. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  72. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  73. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  74. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  75. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  76. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  77. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  78. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  79. $z++;
  80. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_category";
  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 category.";
  84. $z++;
  85. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_subcategory";
  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 subcategory.";
  89. $z++;
  90. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_name";
  91. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  92. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  93. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  94. $z++;
  95. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_value";
  96. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  97. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  98. $z++;
  99. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_order";
  100. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  101. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  102. $z++;
  103. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_enabled";
  104. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
  105. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  106. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
  107. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  108. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  109. $z++;
  110. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_description";
  111. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  112. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  113. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  114. $z++;
  115. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  116. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  117. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  118. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  119. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  120. $z++;
  121. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  122. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  123. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  124. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  125. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  126. $z++;
  127. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  128. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  129. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  130. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  131. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  132. $z++;
  133. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  134. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  135. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  136. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  137. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  138. ?>