Fork of FusionPBX but with LDAP kinda working
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
5.8 KiB

2 years ago
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Variables";
  4. $apps[$x]['uuid'] = "54e08402-c1b8-0a9d-a30a-f569fc174dd8";
  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'] = "Define variables that are used by the switch, provisioning, and more.";
  11. $apps[$x]['description']['en-gb'] = "Define variables that are used by the switch, provisioning, and more.";
  12. $apps[$x]['description']['ar-eg'] = "";
  13. $apps[$x]['description']['de-at'] = "Definiere Variablen, die für den Switch, die Verwaltung und anderes verwendet werden können.";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-de'] = "Definiere Variablen, die für den Switch, die Verwaltung und anderes verwendet werden können.";
  16. $apps[$x]['description']['es-cl'] = "Define variables usadas por el switch, provisionamiento y más";
  17. $apps[$x]['description']['es-mx'] = "";
  18. $apps[$x]['description']['fr-ca'] = "Définir les variables utilisées par le switch, le provisioning et plus.";
  19. $apps[$x]['description']['fr-fr'] = "Définir les variables utilisées par le switch, le provisioning et plus.";
  20. $apps[$x]['description']['he-il'] = "";
  21. $apps[$x]['description']['it-it'] = "";
  22. $apps[$x]['description']['nl-nl'] = "Definieer variabelen die door de Pbx, voorzieningen, en andere onderdelen gebruikt worden";
  23. $apps[$x]['description']['pl-pl'] = "";
  24. $apps[$x]['description']['pt-br'] = "";
  25. $apps[$x]['description']['pt-pt'] = "Definir variáveis que são utilizadas pelo softswitch, aprovisionamento, e outros.";
  26. $apps[$x]['description']['ro-ro'] = "";
  27. $apps[$x]['description']['ru-ru'] = "Определение переменной делает возможным управление FreeSwitch, его инициализации, и многое другое.";
  28. $apps[$x]['description']['sv-se'] = "";
  29. $apps[$x]['description']['uk-ua'] = "";
  30. //permission details
  31. $y=0;
  32. $apps[$x]['permissions'][$y]['name'] = "var_view";
  33. $apps[$x]['permissions'][$y]['menu']['uuid'] = "7a4e9ec5-24b9-7200-89b8-d70bf8afdd8f";
  34. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  35. $y++;
  36. $apps[$x]['permissions'][$y]['name'] = "var_add";
  37. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  38. $y++;
  39. $apps[$x]['permissions'][$y]['name'] = "var_edit";
  40. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  41. $y++;
  42. $apps[$x]['permissions'][$y]['name'] = "var_delete";
  43. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  44. //schema details
  45. $y=0;
  46. $apps[$x]['db'][$y]['table']['name'] = "v_vars";
  47. $apps[$x]['db'][$y]['table']['parent'] = "";
  48. $z=0;
  49. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  50. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "var_id";
  51. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  52. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  53. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  54. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  55. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  56. $z++;
  57. $apps[$x]['db'][$y]['fields'][$z]['name'] = "var_uuid";
  58. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  59. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  60. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  61. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  62. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  63. $z++;
  64. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  65. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  66. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  67. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  68. $z++;
  69. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "var_category";
  70. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "var_cat";
  71. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  72. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  73. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  74. $z++;
  75. $apps[$x]['db'][$y]['fields'][$z]['name'] = "var_name";
  76. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  77. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  78. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  79. $z++;
  80. $apps[$x]['db'][$y]['fields'][$z]['name'] = "var_value";
  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'] = "";
  84. $z++;
  85. $apps[$x]['db'][$y]['fields'][$z]['name'] = "var_command";
  86. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  87. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  88. $z++;
  89. $apps[$x]['db'][$y]['fields'][$z]['name'] = "var_hostname";
  90. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "text";
  91. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  92. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(255)";
  93. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  94. $z++;
  95. $apps[$x]['db'][$y]['fields'][$z]['name'] = "var_enabled";
  96. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  97. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  98. $z++;
  99. $apps[$x]['db'][$y]['fields'][$z]['name'] = "var_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']['text'] = "var_description";
  104. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "var_desc";
  105. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  106. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  107. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  108. ?>