<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
?>
</div>
</div>
</div>
-<?php print_container_end(); ?>
+<?php echo $OUTPUT->container_end(); ?>
</div>
</div>
</div>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<div id="header-t">
<div id="header-r">
</div>
</div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<div id="header-t">
<div id="header-r">
<div id="header-l">
</div>
</div>
</div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
?>
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(true, '', 'footer');
+ echo $OUTPUT->container_start('clearfix footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
echo $performanceinfo;
}
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php
<?php if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<div class="navbar clearfix">
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<div class="navbar clearfix">
<?php if ($navigation) { // This is the navigation table with breadcrumbs
?>
</div>
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
echo $performanceinfo;
}
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php //Accessibility: warning: ALT text will need editing when logo changes. 'headermain' is now H1.
if ($home) { // home page ?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->themewww.'/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->themewww.'/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<div class="clearer"></div>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
<?php } ?>
<!-- END OF HEADER -->
<div class="clearer"></div>
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
-<?php print_container_end(); ?><!-- end container Content -->
+<?php echo $OUTPUT->container_end(); ?><!-- end container Content -->
<!-- START OF FOOTER -->
<?php
}
if (!$inpopup) {
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
echo $performanceinfo;
}
- print_container_end();
+ echo $OUTPUT->container_end();
} // end if inpopup
<?php if (!$inpopup) {
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
<div class="navbar clearfix">
<div class="navbutton"><?php echo $button; ?></div>
<?php } ?>
</div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php }
}
?>
<!-- END OF HEADER -->
-<?php print_container_start(false, '', 'content'); ?>
+<?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
</ul></div>
<?php }
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php //Accessibility: warning: ALT text will need editing if logo changes. 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><img alt='Moodle' src='<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/logo.jpg' /></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><img alt='Moodle' src='<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/logo_small.jpg' /></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
admin_externalpage_print_header('themeselector');
echo $OUTPUT->heading(get_string('themes'));
-$table = new stdClass;
+$table = new html_table();
$table->id = 'adminthemeselector';
$table->head = array(get_string('theme'), get_string('info'));
$infocell .= "<ul>\n<li>" . implode("</li>\n<li>", $infoitems) . "</li>\n</ul>\n";
}
if ($themename != $CFG->theme) {
- $infocell .= print_single_button('index.php', array('choose' => $themename, 'sesskey' => $sesskey),
- get_string('choose'), 'get', null, true);
+ $infocell .= $OUTPUT->button(html_form::make_button('index.php', array('choose' => $themename, 'sesskey' => $sesskey),
+ get_string('choose'), 'get'));
}
$row[] = $infocell;
}
}
-print_table($table);
+echo $OUTPUT->table($table);
echo $OUTPUT->footer();
?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(true, '', 'footer');
+ echo $OUTPUT->container_start('clearfix footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
echo $performanceinfo;
}
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php
<?php if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<div class="navbar clearfix">
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<div class="navbar clearfix">
<?php if ($navigation) { // This is the navigation table with breadcrumbs
?>
</div>
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<hr />';
echo $loggedinas;
</ul></div>
<?php }
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<div class="clearer"> </div>
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
<?php } ?>
<div class="clearer"> </div>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
</ul></div>
<?php }
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
echo $loggedinas;
echo $homelink;
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
</body>
<?php if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
<?php print_container_end(); ?>
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
</div>
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
echo $loggedinas;
echo $homelink;
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
</body>
<?php if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<div class="navbar">
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php if ($navigation) { // This is the navigation table with breadcrumbs
?>
</div>
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<p class="helplink">';
echo page_doc_link(get_string('moodledocslink'));
</ul></div>
<?php }
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<hr />';
echo '<p class="helplink">';
echo $loggedinas;
echo $homelink;
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
</body>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<hr />';
echo '<p class="helplink">';
echo $loggedinas;
echo $homelink;
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
</body>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<hr />';
echo '<p class="helplink">';
echo $loggedinas;
echo $homelink;
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
</body>
//Accessibility: warning: ALT text will need editing if logo changes. 'headermain' is now H1.
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><img alt="Moodle" src="<?php echo $standardlogo ?>" /></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation table with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo '<hr />';
echo '<p class="helplink">';
echo $loggedinas;
echo $homelink;
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
</body>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo "<hr />";
echo '<p class="helplink">';
<li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&warnp2n3e=1&url1=<?php echo urlencode(qualified_me()) ?>">WCAG 1 (2,3) Check</a></li>
</ul></div>
<?php }
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
- <?php print_container_start(true, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('clearfix content'); ?>
<?php
- print_container_end(); // content container
+ echo $OUTPUT->container_end(); // content container
- print_container_start(false, '', 'footer');
+ echo $OUTPUT->container_start('footer');
echo "<div id=\"footer-bar\">";
echo '<span class="helplink">';
echo $performanceinfo;
}
- print_container_end();
+ echo $OUTPUT->container_end();
?>
</div>
</body>
<?php if ($home) { // This is what gets printed on the home page only
?>
- <?php print_container_start(true, '', 'header-home'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
- <?php print_container_start(true, '', 'header'); ?>
+ <?php echo $OUTPUT->container_start('clearfix header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
- <?php print_container_end(); ?>
+ <?php echo $OUTPUT->container_end(); ?>
<?php } ?>
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
<div class="navbar clearfix">
<?php } ?>
<div class="clearer"> </div>
<!-- END OF HEADER -->
- <?php print_container_start(false, '', 'content'); ?>
+ <?php echo $OUTPUT->container_start('content'); ?>