mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-10353, adding couse variable to nav bar in calendar preferences
This commit is contained in:
parent
9458576640
commit
9ba76792ca
3 changed files with 14 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue