Permalink
Browse files

NOMDL MNet remote enrolment client: display a button to go back to th…

…e course selection

Without this button, the user has to go through the admin menu again,
selecting the same host. This improves the usability when enrolling
local users to multiple remote courses.
  • Loading branch information...
mudrd8mz committed Jan 14, 2011
1 parent 34685a5 commit 538dcf896c584fddc0a42122926fb72bce651c47
Showing with 3 additions and 0 deletions.
  1. +3 −0 mnet/service/enrol/course.php
@@ -192,4 +192,7 @@
get_string('refetch', 'mnetservice_enrol'), 'get');
}
+echo $OUTPUT->single_button(new moodle_url('/mnet/service/enrol/host.php', array('id'=>$host->id)),
+ get_string('availablecourseson', 'mnetservice_enrol', s($host->hostname)), 'get');
+
echo $OUTPUT->footer();

0 comments on commit 538dcf8

Please sign in to comment.