app_config.php 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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']['ar-eg'] = "";
  12. $apps[$x]['description']['de-at'] = "Einstellungen des Benutzerkontos können durch den Benutzer geändert werden.";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-de'] = "Einstellungen des Benutzerkontos können durch den Benutzer geändert werden.";
  15. $apps[$x]['description']['es-cl'] = "La configuración de la cuenta puede ser modificada por el usuario.";
  16. $apps[$x]['description']['es-mx'] = "";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-fr'] = "L'usager peut modifier la configuration de son compte";
  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'] = "Configurações da conta podem ser alteradas pelo usuário.";
  24. $apps[$x]['description']['pt-pt'] = "Configurações de conta de utilizador pode ser alterado pelo utilizador.";
  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'] = "user_setting_view";
  32. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  33. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  34. $y++;
  35. $apps[$x]['permissions'][$y]['name'] = "user_setting_add";
  36. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  37. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  38. $y++;
  39. $apps[$x]['permissions'][$y]['name'] = "user_setting_edit";
  40. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  41. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  42. $y++;
  43. $apps[$x]['permissions'][$y]['name'] = "user_setting_delete";
  44. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  46. $y++;
  47. $apps[$x]['permissions'][$y]['name'] = "user_setting_category_edit";
  48. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  49. $y++;
  50. $apps[$x]['permissions'][$y]['name'] = "user_account_setting_view";
  51. $apps[$x]['permissions'][$y]['menu']['uuid'] = "4d532f0b-c206-c39d-ff33-fc67d668fb69";
  52. $apps[$x]['permissions'][$y]['groups'][] = "user";
  53. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  54. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  55. $y++;
  56. $apps[$x]['permissions'][$y]['name'] = "user_account_setting_edit";
  57. $apps[$x]['permissions'][$y]['groups'][] = "user";
  58. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  59. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  60. //schema details
  61. $y=0;
  62. $apps[$x]['db'][$y]['table']['name'] = "v_user_settings";
  63. $apps[$x]['db'][$y]['table']['parent'] = "v_users";
  64. $z=0;
  65. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_uuid";
  66. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  67. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  68. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  69. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  70. $z++;
  71. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_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_users";
  77. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  78. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  79. $z++;
  80. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  81. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  82. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  83. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  84. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  85. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  86. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  87. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  88. $z++;
  89. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_category";
  90. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  91. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  92. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  93. $z++;
  94. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_subcategory";
  95. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  96. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  97. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
  98. $z++;
  99. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_name";
  100. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  101. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  102. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  103. $z++;
  104. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_value";
  105. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  106. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  107. $z++;
  108. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_order";
  109. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  110. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  111. $z++;
  112. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_enabled";
  113. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  114. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  115. $z++;
  116. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_description";
  117. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  118. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  119. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  120. ?>