MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements

This commit is contained in:
Petr Skoda
2009-12-17 13:45:54 +00:00
parent b9f0ecb39e
commit 56cbc53b76
20 changed files with 107 additions and 75 deletions
+1 -1
View File
@@ -1147,7 +1147,7 @@ class block_manager {
$editpage->set_title($strheading);
$editpage->set_heading($strheading);
$output = $editpage->theme->get_renderer('core', $editpage);
$output = $editpage->find_renderer('core');
echo $output->header();
echo $output->heading($strheading, 2);
$mform->display();