app_config.php 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Databases";
  4. $apps[$x]['uuid'] = "8d229b6d-1383-fcec-74c6-4ce1682479e2";
  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'] = "Stored database connection information.";
  11. $apps[$x]['description']['ar-eg'] = "";
  12. $apps[$x]['description']['de-at'] = "Gespeicherte Informationen zu Datenbank-Verbindungen.";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-de'] = "Gespeicherte Informationen zu Datenbank-Verbindungen.";
  15. $apps[$x]['description']['es-cl'] = "Información de conexiones a bases de datos";
  16. $apps[$x]['description']['es-mx'] = "";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-fr'] = "Information de connexions au BDD";
  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'] = "Banco de Dados";
  24. $apps[$x]['description']['pt-pt'] = "Armazena informações de conexão com a base de dados.";
  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'] = "database_view";
  32. $apps[$x]['permissions'][$y]['menu']['uuid'] = "ebbd754d-ca74-d5b1-a77e-9206ba3ecc3f";
  33. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  34. $y++;
  35. $apps[$x]['permissions'][$y]['name'] = "database_add";
  36. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  37. $y++;
  38. $apps[$x]['permissions'][$y]['name'] = "database_edit";
  39. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  40. $y++;
  41. $apps[$x]['permissions'][$y]['name'] = "database_delete";
  42. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  43. //schema details
  44. $y=0;
  45. $apps[$x]['db'][$y]['table']['name'] = "v_databases";
  46. $apps[$x]['db'][$y]['table']['parent'] = "";
  47. $z=0;
  48. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  49. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "database_connection_id";
  50. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  51. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  52. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT PRIMARY KEY";
  53. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  54. $z++;
  55. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_uuid";
  56. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "database_connection_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. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  62. $z++;
  63. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  64. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  65. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  66. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  67. $z++;
  68. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_driver";
  69. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_type";
  70. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  71. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the database driver.";
  72. $z++;
  73. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_type";
  74. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_type";
  75. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  76. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the database type.";
  77. $z++;
  78. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_host";
  79. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_host";
  80. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  81. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the host name.";
  82. $z++;
  83. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_port";
  84. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_port";
  85. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  86. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the port number.";
  87. $z++;
  88. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_name";
  89. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_name";
  90. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  91. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database name.";
  92. $z++;
  93. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_username";
  94. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_username";
  95. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  96. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database username.";
  97. $z++;
  98. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_password";
  99. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_password";
  100. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  101. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database password.";
  102. $z++;
  103. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_path";
  104. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_path";
  105. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  106. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database file path.";
  107. $z++;
  108. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_description";
  109. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_description";
  110. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  111. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
  112. ?>