app_config.php 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Edit";
  4. $apps[$x]['uuid'] = "17e628ee-ccfa-49c0-29ca-9894a0384b9b";
  5. $apps[$x]['category'] = "Switch";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "2.1";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "The edit tool is a browser based editor. Used to edit XML, provision, and script files.";
  11. $apps[$x]['description']['ar-eg'] = "";
  12. $apps[$x]['description']['de-at'] = "Der Skript-Editor kann verwendet werden um Lua, Javaskripte oder andere Skripte zu bearbeiten.";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-de'] = "Der Skript-Editor kann verwendet werden um Lua, Javaskripte oder andere Skripte zu bearbeiten.";
  15. $apps[$x]['description']['es-cl'] = "Editor de scripts. Puede ser utilizado para editar archivos lua, javascript, etc.";
  16. $apps[$x]['description']['es-mx'] = "";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-fr'] = "L'éditeur permet de modifier les scripts lua, javascript ou autres.";
  19. $apps[$x]['description']['he-il'] = "";
  20. $apps[$x]['description']['it-it'] = "";
  21. $apps[$x]['description']['nl-nl'] = "Script bewerker kan worden gebruik om lua, javascript of andere scripts aan te passen.";
  22. $apps[$x]['description']['pl-pl'] = "";
  23. $apps[$x]['description']['pt-br'] = "";
  24. $apps[$x]['description']['pt-pt'] = "Editor de script pode ser usado para editar lua, javascript ou outros scripts.";
  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'] = "edit_view";
  32. $apps[$x]['permissions'][$y]['menu']['uuid'] = "f1905fec-0577-daef-6045-59d09b7d3f94";
  33. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  34. $y++;
  35. $apps[$x]['permissions'][$y]['name'] = "edit_save";
  36. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  37. $y++;
  38. $apps[$x]['permissions'][$y]['name'] = "provision_editor_view";
  39. $apps[$x]['permissions'][$y]['menu']['uuid'] = "57773542-a565-1a29-605d-6535da1a0870";
  40. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  41. $y++;
  42. $apps[$x]['permissions'][$y]['name'] = "provision_editor_save";
  43. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  44. $y++;
  45. $apps[$x]['permissions'][$y]['name'] = "xml_editor_view";
  46. $apps[$x]['permissions'][$y]['menu']['uuid'] = "16013877-606a-2a05-7d6a-c1b215839131";
  47. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  48. $y++;
  49. $apps[$x]['permissions'][$y]['name'] = "xml_editor_save";
  50. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  51. $y++;
  52. $apps[$x]['permissions'][$y]['name'] = "php_editor_view";
  53. $apps[$x]['permissions'][$y]['menu']['uuid'] = "eae1f2d6-789b-807c-cc26-44501e848693";
  54. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  55. $y++;
  56. $apps[$x]['permissions'][$y]['name'] = "php_editor_save";
  57. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  58. $y++;
  59. $apps[$x]['permissions'][$y]['name'] = "grammar_view";
  60. $apps[$x]['permissions'][$y]['menu']['uuid'] = "c3db739e-89f9-0fa2-44ce-0f4c2ff43b1a";
  61. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  62. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  63. $y++;
  64. $apps[$x]['permissions'][$y]['name'] = "grammar_save";
  65. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  66. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  67. $y++;
  68. $apps[$x]['permissions'][$y]['name'] = "clip_view";
  69. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  70. $y++;
  71. $apps[$x]['permissions'][$y]['name'] = "clip_add";
  72. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  73. $y++;
  74. $apps[$x]['permissions'][$y]['name'] = "clip_edit";
  75. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  76. $y++;
  77. $apps[$x]['permissions'][$y]['name'] = "clip_delete";
  78. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  79. //default settings
  80. $y=0;
  81. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2e217303-53ff-4dda-b74e-7f07738d83c2";
  82. $apps[$x]['default_settings'][$y]['default_setting_category'] = "editor";
  83. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "font_size";
  84. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  85. $apps[$x]['default_settings'][$y]['default_setting_value'] = "14px";
  86. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  87. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the default text size for Editor.";
  88. $y++;
  89. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8701cdca-64a1-4ff4-85a1-a09b1389ce92";
  90. $apps[$x]['default_settings'][$y]['default_setting_category'] = "editor";
  91. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "indent_guides";
  92. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  93. $apps[$x]['default_settings'][$y]['default_setting_value'] = "false";
  94. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  95. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the default visibility of indent guides for Editor.";
  96. $y++;
  97. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "5669f8cf-f0a0-4d9c-ad75-caf239e9f5cd";
  98. $apps[$x]['default_settings'][$y]['default_setting_category'] = "editor";
  99. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "invisibles";
  100. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  101. $apps[$x]['default_settings'][$y]['default_setting_value'] = "false";
  102. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  103. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the default state of invisible characters for Editor.";
  104. $y++;
  105. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7122cb30-d557-4001-af94-d8d21f964a63";
  106. $apps[$x]['default_settings'][$y]['default_setting_category'] = "editor";
  107. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "line_numbers";
  108. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  109. $apps[$x]['default_settings'][$y]['default_setting_value'] = "false";
  110. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  111. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the default visibility of line numbers for Editor.";
  112. $y++;
  113. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7b403afd-e4d6-4e96-8c8f-2cf5d6187191";
  114. $apps[$x]['default_settings'][$y]['default_setting_category'] = "editor";
  115. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "theme";
  116. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  117. $apps[$x]['default_settings'][$y]['default_setting_value'] = "Cobalt";
  118. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  119. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the default theme.";
  120. //schema details
  121. $y=0;
  122. $apps[$x]['db'][$y]['table']['name'] = "v_clips";
  123. $apps[$x]['db'][$y]['table']['parent'] = "";
  124. $z=0;
  125. $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_uuid";
  126. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  127. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  128. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  129. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  130. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  131. $z++;
  132. $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_name";
  133. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  134. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  135. $z++;
  136. $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_folder";
  137. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  138. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  139. $z++;
  140. $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_text_start";
  141. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  142. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  143. $z++;
  144. $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_text_end";
  145. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  146. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  147. $z++;
  148. $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_order";
  149. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  150. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  151. $z++;
  152. $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_desc";
  153. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  154. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  155. $z++;
  156. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  157. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  158. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  159. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  160. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  161. $z++;
  162. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  163. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  164. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  165. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  166. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  167. $z++;
  168. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  169. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  170. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  171. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  172. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  173. $z++;
  174. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  175. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  176. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  177. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  178. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";