app_config.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Import Extensions";
  4. $apps[$x]['uuid'] = "9257cf72-e70c-4187-a84b-cefe66a9ebeb";
  5. $apps[$x]['category'] = "Switch";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Possibility to import extensions and devices from CSV file";
  11. $apps[$x]['description']['es-cl'] = "";
  12. $apps[$x]['description']['de-de'] = "";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-at'] = "";
  15. $apps[$x]['description']['fr-fr'] = "";
  16. $apps[$x]['description']['fr-ca'] = "";
  17. $apps[$x]['description']['fr-ch'] = "";
  18. $apps[$x]['description']['pt-pt'] = "";
  19. $apps[$x]['description']['pt-br'] = "";
  20. //permission details
  21. $y = 0;
  22. $apps[$x]['permissions'][$y]['name'] = "import_extensions";
  23. $apps[$x]['permissions'][$y]['menu']['uuid'] = "70934a0a-b49f-4e91-ba11-a7849cc30ed6";
  24. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  25. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  26. $y++;
  27. //default settings
  28. $y = 0;
  29. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = '44fe8455-6c5c-4772-a1b7-e3827f32b520';
  30. $apps[$x]['default_settings'][$y]['default_setting_category'] = 'import_extensions';
  31. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = 'rows_to_show';
  32. $apps[$x]['default_settings'][$y]['default_setting_name'] = 'numeric';
  33. $apps[$x]['default_settings'][$y]['default_setting_value'] = '4';
  34. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = 'true';
  35. $apps[$x]['default_settings'][$y]['default_setting_description'] = 'Set the maximum lines from file to show on Import screen';
  36. $y++;
  37. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = '54fe8455-0c5c-4772-a2b7-f3827f32b520';
  38. $apps[$x]['default_settings'][$y]['default_setting_category'] = 'import_extensions';
  39. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = 'csv_delimiter';
  40. $apps[$x]['default_settings'][$y]['default_setting_name'] = 'text';
  41. $apps[$x]['default_settings'][$y]['default_setting_value'] = ';';
  42. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = 'false';
  43. $apps[$x]['default_settings'][$y]['default_setting_description'] = 'Set CSV file delimiter. If not set, app will try to guess it';
  44. $y++;
  45. ?>