MDL-10353, adding couse variable to nav bar in calendar preferences

This commit is contained in:
toyomoyo 2007-10-15 04:46:31 +00:00
parent 9458576640
commit 9ba76792ca
3 changed files with 14 additions and 3 deletions

View file

@ -165,7 +165,7 @@
//Link to calendar export page
echo '<div class="bottom">';
print_single_button('export.php', false, get_string('exportcalendar', 'calendar'));
print_single_button('export.php', array('course'=>$courseid), get_string('exportcalendar', 'calendar'));
if (!empty($USER->id)) {
$authtoken = sha1($USER->username . $USER->password);