app_config.php 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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']['en-gb'] = "Stored database connection information.";
  12. $apps[$x]['description']['ar-eg'] = "معلومات اتصال قاعدة البيانات المخزنة.";
  13. $apps[$x]['description']['de-at'] = "Gespeicherte Informationen zu Datenbank-Verbindungen.";
  14. $apps[$x]['description']['de-ch'] = "Gespeicherte Datenbankverbindungsinformationen.";
  15. $apps[$x]['description']['de-de'] = "Gespeicherte Informationen zu Datenbank-Verbindungen.";
  16. $apps[$x]['description']['es-cl'] = "Información de conexiones a bases de datos";
  17. $apps[$x]['description']['es-mx'] = "Información de conexión de base de datos almacenada.";
  18. $apps[$x]['description']['fr-ca'] = "Informations de connexion à la base de données stockées.";
  19. $apps[$x]['description']['fr-fr'] = "Information de connexions au BDD";
  20. $apps[$x]['description']['he-il'] = "מידע חיבור למסד נתונים מאוחסן.";
  21. $apps[$x]['description']['it-it'] = "Informazioni di connessione al database memorizzate.";
  22. $apps[$x]['description']['ka-ge'] = "დამახსოვრებულ მონაცემთა ბაზასთან წვდომის ინფორმაცია.";
  23. $apps[$x]['description']['nl-nl'] = "Opgeslagen databaseverbindingsinformatie.";
  24. $apps[$x]['description']['pl-pl'] = "Przechowywane informacje o połączeniu z bazą danych.";
  25. $apps[$x]['description']['pt-br'] = "Banco de Dados";
  26. $apps[$x]['description']['pt-pt'] = "Armazena informações de conexão com a base de dados.";
  27. $apps[$x]['description']['ro-ro'] = "Informații stocate de conexiune la baza de date.";
  28. $apps[$x]['description']['ru-ru'] = "Информация о подключении к базам данных";
  29. $apps[$x]['description']['sv-se'] = "Lagrad databasanslutningsinformation.";
  30. $apps[$x]['description']['uk-ua'] = "Збережена інформація про підключення до бази даних.";
  31. //permission details
  32. $y=0;
  33. $apps[$x]['permissions'][$y]['name'] = "database_view";
  34. $apps[$x]['permissions'][$y]['menu']['uuid'] = "ebbd754d-ca74-d5b1-a77e-9206ba3ecc3f";
  35. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  36. $y++;
  37. $apps[$x]['permissions'][$y]['name'] = "database_add";
  38. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  39. $y++;
  40. $apps[$x]['permissions'][$y]['name'] = "database_edit";
  41. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  42. $y++;
  43. $apps[$x]['permissions'][$y]['name'] = "database_delete";
  44. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. //schema details
  46. $y=0;
  47. $apps[$x]['db'][$y]['table']['name'] = "v_databases";
  48. $apps[$x]['db'][$y]['table']['parent'] = "";
  49. $z=0;
  50. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_uuid";
  51. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "database_connection_uuid";
  52. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  53. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  54. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  55. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  56. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  57. $z++;
  58. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_driver";
  59. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_type";
  60. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  61. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the database driver.";
  62. $z++;
  63. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_type";
  64. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_type";
  65. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  66. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the database type.";
  67. $z++;
  68. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_host";
  69. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_host";
  70. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  71. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the host name.";
  72. $z++;
  73. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_port";
  74. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_port";
  75. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  76. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the port number.";
  77. $z++;
  78. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_name";
  79. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_name";
  80. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  81. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database name.";
  82. $z++;
  83. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_username";
  84. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_username";
  85. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  86. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database username.";
  87. $z++;
  88. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_password";
  89. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_password";
  90. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  91. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database password.";
  92. $z++;
  93. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_path";
  94. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_path";
  95. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  96. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the database file path.";
  97. $z++;
  98. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_description";
  99. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_description";
  100. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  101. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
  102. $z++;
  103. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  104. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  105. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  106. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  107. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  108. $z++;
  109. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  110. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  111. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  112. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  113. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  114. $z++;
  115. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_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'] = "update_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. ?>