routes.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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');
  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');
  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. // admin
  54. $this->create('settings_ajax_getlog', '/settings/ajax/getlog.php')
  55. ->actionInclude('settings/ajax/getlog.php');
  56. $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php')
  57. ->actionInclude('settings/ajax/setloglevel.php');
  58. // apps/user_openid
  59. $this->create('settings_ajax_openid', '/settings/ajax/openid.php')
  60. ->actionInclude('settings/ajax/openid.php');