community MDL-19314 do not display download message if no download message

This commit is contained in:
jerome mouneyrac 2010-05-04 03:47:44 +00:00
parent 8cb89f5bd5
commit 0dcf112b67

View File

@ -86,7 +86,9 @@ if (!empty($fromform)) {
// OUTPUT
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('addcommunitycourse', 'block_community'), 3, 'main');
echo $downloadmessage;
if (!empty($downloadmessage)) {
echo $downloadmessage;
}
$hubselectorform->display();
echo $renderer->course_list($courses, $huburl);
echo $OUTPUT->footer();