themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch: * New format_text argument, overflowdiv. * New page layout Report. * Review of all format_text calls. * Added support for the report layout to all themes. * Changed forum post display from tables to divs.
This commit is contained in:
+5
-1
@@ -628,7 +628,11 @@ function print_grade_page_head($courseid, $active_type, $active_plugin=null,
|
||||
$title = $PAGE->course->fullname.': ' . $stractive_plugin;
|
||||
}
|
||||
|
||||
$PAGE->set_pagelayout('admin');
|
||||
if ($active_type == 'report') {
|
||||
$PAGE->set_pagelayout('report');
|
||||
} else {
|
||||
$PAGE->set_pagelayout('admin');
|
||||
}
|
||||
$PAGE->set_title(get_string('grades') . ': ' . $stractive_type);
|
||||
$PAGE->set_heading($title);
|
||||
if ($buttons instanceof single_button) {
|
||||
|
||||
Reference in New Issue
Block a user