mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-19821 Converted all print_footer() calls
This commit is contained in:
parent
0646607098
commit
6fd42112e6
@ -195,7 +195,7 @@ case 'sign':
|
||||
$repo->print_login();
|
||||
echo '</form>';
|
||||
}
|
||||
print_footer('empty');
|
||||
echo $OUTPUT->footer();
|
||||
break;
|
||||
case 'download':
|
||||
$filepath = $repo->get_file($file, $title, $itemid);
|
||||
@ -226,7 +226,7 @@ case 'confirm':
|
||||
echo '<input type="submit" value="'.get_string('download', 'repository').'" />';
|
||||
echo '</div>';
|
||||
echo '</form>';
|
||||
print_footer('empty');
|
||||
echo $OUTPUT->footer();
|
||||
break;
|
||||
case 'plugins':
|
||||
$user_context = get_context_instance(CONTEXT_USER, $USER->id);
|
||||
@ -267,6 +267,6 @@ default:
|
||||
}
|
||||
$url->param('action', 'plugins');
|
||||
echo '<div><a href="'.$url->out().'">'.get_string('addfile', 'repository').'</a></div>';
|
||||
print_footer('empty');
|
||||
echo $OUTPUT->footer();
|
||||
break;
|
||||
}
|
||||
|
@ -190,4 +190,4 @@
|
||||
redirect($baseurl);
|
||||
}
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user