routes.php 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. // apps
  49. $this->create('settings_ajax_apps_ocs', '/settings/ajax/apps/ocs.php')
  50. ->actionInclude('settings/ajax/apps/ocs.php');
  51. $this->create('settings_ajax_enableapp', '/settings/ajax/enableapp.php')
  52. ->actionInclude('settings/ajax/enableapp.php');
  53. $this->create('settings_ajax_disableapp', '/settings/ajax/disableapp.php')
  54. ->actionInclude('settings/ajax/disableapp.php');
  55. $this->create('settings_ajax_updateapp', '/settings/ajax/updateapp.php')
  56. ->actionInclude('settings/ajax/updateapp.php');
  57. $this->create('settings_ajax_navigationdetect', '/settings/ajax/navigationdetect.php')
  58. ->actionInclude('settings/ajax/navigationdetect.php');
  59. $this->create('apps_custom', '/settings/js/apps-custom.js')
  60. ->actionInclude('settings/js/apps-custom.php');
  61. // admin
  62. $this->create('settings_ajax_getlog', '/settings/ajax/getlog.php')
  63. ->actionInclude('settings/ajax/getlog.php');
  64. $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php')
  65. ->actionInclude('settings/ajax/setloglevel.php');
  66. $this->create('settings_ajax_setsecurity', '/settings/ajax/setsecurity.php')
  67. ->actionInclude('settings/ajax/setsecurity.php');
  68. $this->create('isadmin', '/settings/js/isadmin.js')
  69. ->actionInclude('settings/js/isadmin.php');