routes.php 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. // personel
  42. $this->create('settings_ajax_lostpassword', '/settings/ajax/lostpassword.php')
  43. ->actionInclude('settings/ajax/lostpassword.php');
  44. $this->create('settings_ajax_setlanguage', '/settings/ajax/setlanguage.php')
  45. ->actionInclude('settings/ajax/setlanguage.php');
  46. // apps
  47. $this->create('settings_ajax_apps_ocs', '/settings/ajax/apps/ocs.php')
  48. ->actionInclude('settings/ajax/apps/ocs.php');
  49. $this->create('settings_ajax_enableapp', '/settings/ajax/enableapp.php')
  50. ->actionInclude('settings/ajax/enableapp.php');
  51. $this->create('settings_ajax_disableapp', '/settings/ajax/disableapp.php')
  52. ->actionInclude('settings/ajax/disableapp.php');
  53. $this->create('settings_ajax_navigationdetect', '/settings/ajax/navigationdetect.php')
  54. ->actionInclude('settings/ajax/navigationdetect.php');
  55. // admin
  56. $this->create('settings_ajax_getlog', '/settings/ajax/getlog.php')
  57. ->actionInclude('settings/ajax/getlog.php');
  58. $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php')
  59. ->actionInclude('settings/ajax/setloglevel.php');
  60. // apps/user_openid
  61. $this->create('settings_ajax_openid', '/settings/ajax/openid.php')
  62. ->actionInclude('settings/ajax/openid.php');