let the block show on both site and course pages
add globals for use indetermining whether we are on site or course pages
debugging archive-restore - in medias res
content needs an icons array
eliminates some redundant settings loop code; fetches course names better
adds archive mode setting
fetches course name and category from filename using new lib fn
don't need to rip value for info anymore
fixes logic around category resolution
working prototype
add debug
removes some debugging; updates page headers to agree with the new functionality (restore from archive)
refactor the local  fn to be accessible from other methods, reducing duplicate code; adds comment
comments + cleanup
throws exception if the file is of the incorrect type. see @todo
adds enrol_migratetomanual setting in a more appropriate place
removes some cruft
allow ordinary users to restore their courses.
no need to filter on first.last if backadel is set to backup by username
some cleanup