mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
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:
parent
2412f8b882
commit
367a75fae4
125 changed files with 3366 additions and 2062 deletions
|
@ -54,7 +54,7 @@ if (!$manager) {
|
|||
$strcohorts = get_string('cohorts', 'cohort');
|
||||
|
||||
if ($category) {
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->set_pagelayout('report');
|
||||
$PAGE->set_context($context);
|
||||
$PAGE->set_url('/cohort/index.php', array('contextid'=>$context->id));
|
||||
$PAGE->set_title($strcohorts);
|
||||
|
@ -62,7 +62,7 @@ if ($category) {
|
|||
$PAGE->navbar->add($category->name, new moodle_url('/course/index.php', array('categoryedit'=>'1')));
|
||||
$PAGE->navbar->add($strcohorts);
|
||||
} else {
|
||||
admin_externalpage_setup('cohorts');
|
||||
admin_externalpage_setup('cohorts', '', null, '', array('pagelayout'=>'report'));
|
||||
}
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue