app_config.php 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Default Settings";
  4. $apps[$x]['uuid'] = "2c2453c0-1bea-4475-9f44-4d969650de09";
  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'] = "Default settings that apply to all domains.";
  11. $apps[$x]['description']['en-gb'] = "Default settings that apply to all domains.";
  12. $apps[$x]['description']['ar-eg'] = "الإعدادات الافتراضية التي تنطبق على كافة المجالات.";
  13. $apps[$x]['description']['de-at'] = "Grundlegende Einstellungen die für alle Domänen gültig sind.";
  14. $apps[$x]['description']['de-ch'] = "Standardeinstellungen, die für alle Domänen gelten.";
  15. $apps[$x]['description']['de-de'] = "Grundlegende Einstellungen die für alle Domänen gültig sind.";
  16. $apps[$x]['description']['el-gr'] = "Προεπιλεγμένες ρυθμίσεις που ισχύουν για όλους τους τομείς.";
  17. $apps[$x]['description']['es-cl'] = "Configuraciones predeterminadas que aplican a todos los dominios.";
  18. $apps[$x]['description']['es-mx'] = "Configuración predeterminada que se aplica a todos los dominios.";
  19. $apps[$x]['description']['fr-ca'] = "Paramètres par défaut qui s'appliquent à tous les domaines.";
  20. $apps[$x]['description']['fr-fr'] = "Configurations par défaut applicable à tous les domaines";
  21. $apps[$x]['description']['he-il'] = "הגדרות ברירת המחדל החלות על כל הדומיינים.";
  22. $apps[$x]['description']['it-it'] = "Impostazioni predefinite che si applicano a tutti i domini.";
  23. $apps[$x]['description']['ka-ge'] = "ნაგულისხმევი პარამეტრები, რომლებიც ყველა დომენზე გამოიყენება.";
  24. $apps[$x]['description']['nl-nl'] = "Standaardinstellingen die van toepassing zijn op alle domeinen.";
  25. $apps[$x]['description']['pl-pl'] = "Domyślne ustawienia dotyczące wszystkich domen.";
  26. $apps[$x]['description']['pt-br'] = "Configurações Padrão aplicáveis à todos os domínios";
  27. $apps[$x]['description']['pt-pt'] = "Configurações padrão que se aplicam a todos os domínios.";
  28. $apps[$x]['description']['ro-ro'] = "Setări implicite care se aplică tuturor domeniilor.";
  29. $apps[$x]['description']['ru-ru'] = "Настройки по умолчанию для всех доменов";
  30. $apps[$x]['description']['sv-se'] = "Standardinställningar som gäller alla domäner.";
  31. $apps[$x]['description']['uk-ua'] = "Налаштування за умовчанням, які застосовуються до всіх доменів.";
  32. $apps[$x]['description']['tr-tr'] = "Tüm etki alanları için geçerli olan varsayılan ayarlar.";
  33. //permission details
  34. $y=0;
  35. $apps[$x]['permissions'][$y]['name'] = "default_setting_view";
  36. $apps[$x]['permissions'][$y]['menu']['uuid'] = "834b2739-9e99-4345-9b0b-7ec3ca332b67";
  37. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  38. $y++;
  39. $apps[$x]['permissions'][$y]['name'] = "default_setting_add";
  40. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  41. $y++;
  42. $apps[$x]['permissions'][$y]['name'] = "default_setting_edit";
  43. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  44. $y++;
  45. $apps[$x]['permissions'][$y]['name'] = "default_setting_delete";
  46. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  47. //default settings
  48. $y = 0;
  49. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3bcb4912-e34c-45b0-8612-662783ee8d1b";
  50. $apps[$x]['default_settings'][$y]['default_setting_category'] = "server";
  51. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "temp";
  52. $apps[$x]['default_settings'][$y]['default_setting_name'] = "dir";
  53. $apps[$x]['default_settings'][$y]['default_setting_value'] = sys_get_temp_dir();
  54. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  55. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  56. $y++;
  57. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f1a7c2d4-ba3c-49c8-9146-e40eb8873030";
  58. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  59. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "template";
  60. $apps[$x]['default_settings'][$y]['default_setting_name'] = "name";
  61. $apps[$x]['default_settings'][$y]['default_setting_value'] = "default";
  62. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  63. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  64. $y++;
  65. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "da9aa071-5dd8-4955-b5a6-d3c60ce7d78a";
  66. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  67. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "menu";
  68. $apps[$x]['default_settings'][$y]['default_setting_name'] = "uuid";
  69. $apps[$x]['default_settings'][$y]['default_setting_value'] = "b4750c3f-2a86-b00d-b7d0-345c14eca286";
  70. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  71. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  72. $y++;
  73. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "500f7a88-e288-4a80-9f0a-b696f9f33cd6";
  74. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  75. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "language";
  76. $apps[$x]['default_settings'][$y]['default_setting_name'] = "code";
  77. $apps[$x]['default_settings'][$y]['default_setting_value'] = "en-us";
  78. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  79. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  80. $y++;
  81. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c55b28df-0eba-4e8f-a13b-022d5dfd8d22";
  82. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  83. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "time_zone";
  84. $apps[$x]['default_settings'][$y]['default_setting_name'] = "name";
  85. $apps[$x]['default_settings'][$y]['default_setting_value'] = "UTC";
  86. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  87. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  88. $y++;
  89. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "cee8b1af-8b02-47e4-aa8e-267b18b69b67";
  90. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  91. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "cidr";
  92. $apps[$x]['default_settings'][$y]['default_setting_name'] = "array";
  93. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  94. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  95. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  96. $y++;
  97. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "cb55e6ac-9bb0-4714-b68f-82b39a3b9ec2";
  98. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  99. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "country";
  100. $apps[$x]['default_settings'][$y]['default_setting_name'] = "code";
  101. $apps[$x]['default_settings'][$y]['default_setting_value'] = "us";
  102. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  103. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  104. $y++;
  105. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c338e26c-0dd5-4ad5-a055-82e2c5ed3f6f";
  106. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  107. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "bridge";
  108. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  109. $apps[$x]['default_settings'][$y]['default_setting_value'] = "loopback";
  110. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  111. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: outbound,loopback,lcr";
  112. $y++;
  113. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "48874632-421d-4829-a6b7-0695c589d85f";
  114. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  115. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "paging";
  116. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  117. $apps[$x]['default_settings'][$y]['default_setting_value'] = "100";
  118. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  119. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the maximum number of records displayed per page. (Default: 50)";
  120. $y++;
  121. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "113c90a3-5778-4b4a-8f71-44c790601eca";
  122. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  123. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "time_format";
  124. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  125. $apps[$x]['default_settings'][$y]['default_setting_value'] = "24h";
  126. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  127. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Toggle between 24 hour and 12 hour time formats. Default is 24hr when disabled.";
  128. $y++;
  129. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "9f4a1209-72ba-435b-90e1-4cba48d74509";
  130. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  131. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "method";
  132. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  133. $apps[$x]['default_settings'][$y]['default_setting_value'] = "smtp";
  134. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  135. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: smtp, sendmail, mail, qmail";
  136. $y++;
  137. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b7a0f80d-b704-4fcf-9b66-e96e0604951e";
  138. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  139. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "address_type";
  140. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  141. $apps[$x]['default_settings'][$y]['default_setting_value'] = "add_address";
  142. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  143. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: add_address, add_bcc";
  144. $y++;
  145. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "97a2410b-cfc8-4194-9172-dd5b0acfa9f3";
  146. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  147. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_auth";
  148. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  149. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  150. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  151. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  152. $y++;
  153. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8efff742-eea4-493d-abeb-064457586e26";
  154. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  155. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_port";
  156. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  157. $apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
  158. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  159. $apps[$x]['default_settings'][$y]['default_setting_description'] = "use non-default port if enabled and non-zero";
  160. $y++;
  161. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "16f40b7b-293d-4308-81f4-772e0ea4c536";
  162. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  163. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_from";
  164. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  165. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  166. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  167. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  168. $y++;
  169. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2976da3a-d8e5-4e25-9f16-463dfa256f4d";
  170. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  171. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_from_name";
  172. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  173. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  174. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  175. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  176. $y++;
  177. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "82bfc038-5e8d-427e-9773-0eb31bc3a6c3";
  178. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  179. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_hostname";
  180. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  181. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  182. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  183. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Define the local hostname to be used when sending mail.";
  184. $y++;
  185. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "0bd788c1-3262-4336-92f4-ef7869062380";
  186. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  187. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_host";
  188. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  189. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  190. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  191. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  192. $y++;
  193. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "49e778a6-22a7-418f-84b9-bfa27e38f2e5";
  194. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  195. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_username";
  196. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  197. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  198. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  199. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  200. $y++;
  201. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8a5ae059-9bf3-4d6d-ae92-b6cb39766d0a";
  202. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  203. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_password";
  204. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  205. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  206. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  207. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  208. $y++;
  209. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "fd7441d5-d348-4660-8c0b-6413220c680d";
  210. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  211. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_secure";
  212. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  213. $apps[$x]['default_settings'][$y]['default_setting_value'] = "tls";
  214. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  215. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: tls, none";
  216. $y++;
  217. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "aba1680c-ac78-4d20-adfe-17231aef70fe";
  218. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  219. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_crypto_method";
  220. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  221. $apps[$x]['default_settings'][$y]['default_setting_value'] = "STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT";
  222. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  223. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  224. $y++;
  225. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "e1c17089-1e75-4e46-9e59-4748bb6a6cec";
  226. $apps[$x]['default_settings'][$y]['default_setting_category'] = "email";
  227. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "smtp_validate_certificate";
  228. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  229. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  230. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  231. $apps[$x]['default_settings'][$y]['default_setting_description'] = "set to false to ignore SSL certificate warnings e.g. for self-signed certificates";
  232. $y++;
  233. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8a07ab78-f386-482c-85dd-7ce8127597d6";
  234. $apps[$x]['default_settings'][$y]['default_setting_category'] = "login";
  235. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_reset_key";
  236. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  237. $apps[$x]['default_settings'][$y]['default_setting_value'] = base64_encode(openssl_random_pseudo_bytes(32));
  238. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  239. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Display a Reset Password link on the login box (requires smtp_host be defined).";
  240. $y++;
  241. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a21a002c-c065-411c-ae56-3d33a09f64b4";
  242. $apps[$x]['default_settings'][$y]['default_setting_category'] = "login";
  243. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_reset_domain";
  244. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  245. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  246. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  247. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the domain to use in the Password Reset link sent via email.";
  248. $y++;
  249. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "962ac32c-74ce-4cce-b1d9-89f4d921493d";
  250. $apps[$x]['default_settings'][$y]['default_setting_category'] = "login";
  251. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "domain_name_visible";
  252. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  253. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  254. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  255. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Displays a domain input or select box (if domain_name array defined) on the login box.";
  256. $y++;
  257. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "796508ee-894d-4566-bb7f-e1269a6e0e26";
  258. $apps[$x]['default_settings'][$y]['default_setting_category'] = "login";
  259. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "domain_name";
  260. $apps[$x]['default_settings'][$y]['default_setting_name'] = "array";
  261. $apps[$x]['default_settings'][$y]['default_setting_value'] = "pbx1.yourdomain.com";
  262. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  263. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Domain select option displayed on the login box.";
  264. $y++;
  265. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "85d79c4e-4689-4d8e-b87d-5edd5b1574b1";
  266. $apps[$x]['default_settings'][$y]['default_setting_category'] = "cache";
  267. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "method";
  268. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  269. $apps[$x]['default_settings'][$y]['default_setting_value'] = "file";
  270. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  271. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Cache methods file or memcache.";
  272. $y++;
  273. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7b644bfb-124f-4212-9541-1ca564be9d79";
  274. $apps[$x]['default_settings'][$y]['default_setting_category'] = "cache";
  275. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "location";
  276. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  277. $apps[$x]['default_settings'][$y]['default_setting_value'] = "/var/cache/fusionpbx";
  278. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  279. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Location for the file cache.";
  280. $y++;
  281. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "31b60c5f-e501-4982-893b-b56ef4ef5b56";
  282. $apps[$x]['default_settings'][$y]['default_setting_category'] = "log";
  283. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "enabled";
  284. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  285. $apps[$x]['default_settings'][$y]['default_setting_value'] = "false";
  286. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  287. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable logging true or false.";
  288. $y++;
  289. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "81008738-aec1-4535-b451-29c25f213694";
  290. $apps[$x]['default_settings'][$y]['default_setting_category'] = "log";
  291. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "type";
  292. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  293. $apps[$x]['default_settings'][$y]['default_setting_value'] = "syslog";
  294. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  295. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: syslog, file";
  296. $y++;
  297. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "e2b9406f-37cf-4226-8111-e5d11d0bfd73";
  298. $apps[$x]['default_settings'][$y]['default_setting_category'] = "login";
  299. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "destination";
  300. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  301. $apps[$x]['default_settings'][$y]['default_setting_value'] = "/core/dashboard/";
  302. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  303. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Destination after login";
  304. $y++;
  305. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "47b951c9-b339-4733-9104-a979f6e2f551";
  306. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  307. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "setting_value_input_type";
  308. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  309. $apps[$x]['default_settings'][$y]['default_setting_value'] = "input";
  310. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  311. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  312. $y++;
  313. //schema details
  314. $y=0;
  315. $apps[$x]['db'][$y]['table']['name'] = "v_default_settings";
  316. $apps[$x]['db'][$y]['table']['parent'] = "";
  317. $z=0;
  318. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_uuid";
  319. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  320. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  321. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  322. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  323. $z++;
  324. $apps[$x]['db'][$y]['fields'][$z]['name'] = "app_uuid";
  325. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  326. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  327. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  328. $z++;
  329. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_category";
  330. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  331. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  332. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  333. $z++;
  334. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_subcategory";
  335. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  336. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  337. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
  338. $z++;
  339. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_name";
  340. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  341. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  342. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  343. $z++;
  344. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_value";
  345. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  346. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  347. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  348. $z++;
  349. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_order";
  350. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  351. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  352. $z++;
  353. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_enabled";
  354. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
  355. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  356. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
  357. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  358. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  359. $z++;
  360. $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_description";
  361. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  362. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  363. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  364. $z++;
  365. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  366. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  367. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  368. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  369. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  370. $z++;
  371. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  372. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  373. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  374. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  375. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  376. $z++;
  377. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  378. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  379. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  380. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  381. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  382. $z++;
  383. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  384. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  385. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  386. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  387. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  388. $y++;
  389. $apps[$x]['db'][$y]['table']['name'] = "v_languages";
  390. $apps[$x]['db'][$y]['table']['parent'] = "";
  391. $z=0;
  392. $apps[$x]['db'][$y]['fields'][$z]['name'] = "language_uuid";
  393. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  394. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  395. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  396. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  397. $z++;
  398. $apps[$x]['db'][$y]['fields'][$z]['name'] = "language";
  399. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  400. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The language name/title.";
  401. $z++;
  402. $apps[$x]['db'][$y]['fields'][$z]['name'] = "code";
  403. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  404. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The language code.";
  405. $z++;
  406. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  407. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  408. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  409. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  410. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  411. $z++;
  412. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  413. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  414. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  415. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  416. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  417. $z++;
  418. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  419. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  420. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  421. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  422. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  423. $z++;
  424. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  425. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  426. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  427. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  428. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  429. $y++;
  430. $apps[$x]['db'][$y]['table']['name'] = "v_countries";
  431. $apps[$x]['db'][$y]['table']['parent'] = "";
  432. $z=0;
  433. $apps[$x]['db'][$y]['fields'][$z]['name'] = "country_uuid";
  434. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  435. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  436. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  437. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  438. $z++;
  439. $apps[$x]['db'][$y]['fields'][$z]['name'] = "country";
  440. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  441. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The country name/title.";
  442. $z++;
  443. $apps[$x]['db'][$y]['fields'][$z]['name'] = "iso_a2";
  444. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  445. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The 2-letter ISO abbreviation.";
  446. $z++;
  447. $apps[$x]['db'][$y]['fields'][$z]['name'] = "iso_a3";
  448. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  449. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The 3-letter ISO abbreviation.";
  450. $z++;
  451. $apps[$x]['db'][$y]['fields'][$z]['name'] = "num";
  452. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  453. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The numerical code.";
  454. $z++;
  455. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "country_code";
  456. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "calling_code";
  457. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  458. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The calling code.";
  459. $z++;
  460. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  461. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  462. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  463. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  464. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  465. $z++;
  466. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  467. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  468. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  469. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  470. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  471. $z++;
  472. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  473. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  474. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  475. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  476. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  477. $z++;
  478. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  479. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  480. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  481. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  482. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  483. ?>