routes.php 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. /**
  3. * Copyright (c) 2012 Bart Visscher <bartv@thisnet.nl>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. // Settings pages
  9. $this->create('settings_help', '/settings/help')
  10. ->actionInclude('settings/help.php');
  11. $this->create('settings_personal', '/settings/personal')
  12. ->actionInclude('settings/personal.php');
  13. $this->create('settings_settings', '/settings')
  14. ->actionInclude('settings/settings.php');
  15. $this->create('settings_users', '/settings/users')
  16. ->actionInclude('settings/users.php');
  17. $this->create('settings_apps', '/settings/apps')
  18. ->actionInclude('settings/apps.php');
  19. $this->create('settings_admin', '/settings/admin')
  20. ->actionInclude('settings/admin.php');
  21. // Settings ajax actions
  22. // users
  23. $this->create('settings_ajax_userlist', '/settings/ajax/userlist')
  24. ->actionInclude('settings/ajax/userlist.php');
  25. $this->create('settings_ajax_createuser', '/settings/ajax/createuser.php')
  26. ->actionInclude('settings/ajax/createuser.php');
  27. $this->create('settings_ajax_removeuser', '/settings/ajax/removeuser.php')
  28. ->actionInclude('settings/ajax/removeuser.php');
  29. $this->create('settings_ajax_setquota', '/settings/ajax/setquota.php')
  30. ->actionInclude('settings/ajax/setquota.php');
  31. $this->create('settings_ajax_creategroup', '/settings/ajax/creategroup.php')
  32. ->actionInclude('settings/ajax/creategroup.php');
  33. $this->create('settings_ajax_togglegroups', '/settings/ajax/togglegroups.php')
  34. ->actionInclude('settings/ajax/togglegroups.php');
  35. $this->create('settings_ajax_togglesubadmins', '/settings/ajax/togglesubadmins.php')
  36. ->actionInclude('settings/ajax/togglesubadmins.php');
  37. $this->create('settings_ajax_removegroup', '/settings/ajax/removegroup.php')
  38. ->actionInclude('settings/ajax/removegroup.php');
  39. $this->create('settings_ajax_changepassword', '/settings/ajax/changepassword.php')
  40. ->actionInclude('settings/ajax/changepassword.php');
  41. $this->create('settings_ajax_changedisplayname', '/settings/ajax/changedisplayname.php')
  42. ->actionInclude('settings/ajax/changedisplayname.php');
  43. // personel
  44. $this->create('settings_ajax_lostpassword', '/settings/ajax/lostpassword.php')
  45. ->actionInclude('settings/ajax/lostpassword.php');
  46. $this->create('settings_ajax_setlanguage', '/settings/ajax/setlanguage.php')
  47. ->actionInclude('settings/ajax/setlanguage.php');
  48. $this->create('settings_ajax_decryptall', '/settings/ajax/decryptall.php')
  49. ->actionInclude('settings/ajax/decryptall.php');
  50. // apps
  51. $this->create('settings_ajax_apps_ocs', '/settings/ajax/apps/ocs.php')
  52. ->actionInclude('settings/ajax/apps/ocs.php');
  53. $this->create('settings_ajax_enableapp', '/settings/ajax/enableapp.php')
  54. ->actionInclude('settings/ajax/enableapp.php');
  55. $this->create('settings_ajax_disableapp', '/settings/ajax/disableapp.php')
  56. ->actionInclude('settings/ajax/disableapp.php');
  57. $this->create('settings_ajax_updateapp', '/settings/ajax/updateapp.php')
  58. ->actionInclude('settings/ajax/updateapp.php');
  59. $this->create('settings_ajax_navigationdetect', '/settings/ajax/navigationdetect.php')
  60. ->actionInclude('settings/ajax/navigationdetect.php');
  61. $this->create('apps_custom', '/settings/js/apps-custom.js')
  62. ->actionInclude('settings/js/apps-custom.php');
  63. // admin
  64. $this->create('settings_ajax_getlog', '/settings/ajax/getlog.php')
  65. ->actionInclude('settings/ajax/getlog.php');
  66. $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php')
  67. ->actionInclude('settings/ajax/setloglevel.php');
  68. $this->create('settings_ajax_setsecurity', '/settings/ajax/setsecurity.php')
  69. ->actionInclude('settings/ajax/setsecurity.php');
  70. $this->create('isadmin', '/settings/js/isadmin.js')
  71. ->actionInclude('settings/js/isadmin.php');