~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to mod/workshop/index.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
/// Get all the appropriate data
49
49
 
50
50
if (! $workshops = get_all_instances_in_course('workshop', $course)) {
51
 
    echo $OUTPUT->heading(get_string('noworkshops', 'workshop'), 2);
52
 
    echo $OUTPUT->continue_button(new moodle_url('/course/view.php', array('id' => $course->id)));
 
51
    echo $OUTPUT->heading(get_string('modulenameplural', 'workshop'));
 
52
    notice(get_string('noworkshops', 'workshop'), new moodle_url('/course/view.php', array('id' => $course->id)));
53
53
    echo $OUTPUT->footer();
54
54
    die();
55
55
}
84
84
        $table->data[] = array($link);
85
85
    }
86
86
}
87
 
 
88
 
echo $OUTPUT->heading(get_string('modulenameplural', 'workshop'), 2);
 
87
echo $OUTPUT->heading(get_string('modulenameplural', 'workshop'), 3);
89
88
echo html_writer::table($table);
90
89
echo $OUTPUT->footer();