Take $CFG->pagepath into account for page_id_and_class so "weird" pages can end up wth nice page classes and ids
Take $CFG->pagepath into account for page_id_and_class so "weird" pages
can end up wth nice page classes and ids

dilawar/moodle