But you will have to do this over again every time there is an upgrade.
No problem... I can live with that :-)
Thank you for this solution, seems to be what I was looking for.
As I said before, I don't speak PHP.... so you just moved the "print p_locale_xhtml('denied');" line one level (or whatever it is called) down? And so it will not appear on the login page?
What happens if that line is just deleted?