I currently use a version 3.5 of Moodle. i want to display something on each admin page.
Is there a Moodle function to check if a page is an admin page or not, something like is_page_admin() ?
I'm not talking about Course menu for instance, only pages accessible trough the site Administration homepage.
I've not seen it in lib/pagelib.php
I've found navigationlib/is_admin_tree_needed() but this does not seem to cover all admin pages.
Thank you in advance