I would like to modify the "No Permissions" error page to which a user is redirected when attempting something not permitted. Where in the code do I do this?
The templates are located here:
Admin CP -> Templates & Style -> Templates -> *Template Set* -> Error Message Templates
- error_nopermission_loggedin
- error_nopermission
The language variables are located here:
Admin CP -> Configuration -> Languages -> *Language* -> messages.lang.php
- error_nopermission_guest_1
- error_nopermission_guest_2
- error_nopermission_guest_3
- error_nopermission_guest_4
- error_nopermission_guest_5
- error_nopermission_user_1
- error_nopermission_user_2
- error_nopermission_user_3
- error_nopermission_user_4
- error_nopermission_user_5
- error_nopermission_user_resendactivation
- error_nopermission_user_username