mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-19793 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
This commit is contained in:
parent
16fa745661
commit
d08472fc5b
@ -164,9 +164,9 @@
|
||||
}
|
||||
|
||||
//Link to calendar export page
|
||||
echo '<div class="bottom">';
|
||||
echo $OUTPUT->container_start('bottom');
|
||||
if (!empty($CFG->enablecalendarexport)) {
|
||||
print_single_button('export.php', array('course'=>$courseid), get_string('exportcalendar', 'calendar'));
|
||||
echo $OUTPUT->button(html_form::make_button('export.php', array('course'=>$courseid), get_string('exportcalendar', 'calendar')));
|
||||
|
||||
if (!empty($USER->id)) {
|
||||
$authtoken = sha1($USER->username . $USER->password . $CFG->calendar_exportsalt);
|
||||
@ -180,7 +180,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
echo $OUTPUT->container_end();
|
||||
echo '</div>';
|
||||
echo '</td>';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user