Merge branch 'MDL-41612_b' of git://github.com/rwijaya/moodle

This commit is contained in:
Marina Glancy 2013-09-17 11:10:44 +10:00
commit 9f21d24895
6 changed files with 6 additions and 4 deletions

View file

@ -52,7 +52,7 @@ class scorm_graphs_report extends scorm_default_report {
$imageurl = new moodle_url('/mod/scorm/report/graphs/graph.php',
array('scoid' => $sco->id));
$graphname = $sco->title;
echo $OUTPUT->heading($graphname);
echo $OUTPUT->heading($graphname, 3);
echo html_writer::tag('div', html_writer::empty_tag('img',
array('src' => $imageurl, 'alt' => $graphname)),
array('class' => 'graph'));

View file

@ -87,7 +87,7 @@ if (!$table->is_downloading($download, $exportfilename)) {
require($CFG->dirroot . '/mod/scorm/report/userreporttabs.php');
echo $OUTPUT->box_start('generalbox boxaligncenter');
echo $OUTPUT->heading("$strattempt $attempt - ". fullname($user).': '.
format_string($selsco->title). ' - '. get_string('details', 'scorm'));
format_string($selsco->title). ' - '. get_string('details', 'scorm'), 3);
}
$table->define_baseurl($PAGE->url);
$table->define_columns(array('element', 'value'));