Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34685a5
)
NOMDL MNet remote enrolment client: display a button to go back to the course selection
author
David Mudrak
<david@moodle.com>
Fri, 14 Jan 2011 11:53:01 +0000
(12:53 +0100)
committer
David Mudrak
<david@moodle.com>
Fri, 14 Jan 2011 11:53:01 +0000
(12:53 +0100)
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.
mnet/service/enrol/course.php
patch
|
blob
|
blame
|
history
diff --git
a/mnet/service/enrol/course.php
b/mnet/service/enrol/course.php
index
6eeb2d1
..
d67eaf6
100644
(file)
--- a/
mnet/service/enrol/course.php
+++ b/
mnet/service/enrol/course.php
@@
-192,4
+192,7
@@
if ($usecache) {
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();