mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE
This commit is contained in:
parent
220f149cfc
commit
9f7f1a74a0
48 changed files with 653 additions and 732 deletions
|
@ -1,39 +1,40 @@
|
|||
|
||||
</div> <!-- end div containerContent -->
|
||||
<!-- START OF FOOTER -->
|
||||
<div id="footer">
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
?>
|
||||
|
||||
<?php if ($navigation and false) { ?>
|
||||
|
||||
if ($navigation and false) { ?>
|
||||
<div class="navbar clearfix">
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="menu"><?php echo $menu; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php }
|
||||
|
||||
<hr />
|
||||
echo '<hr />';
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
<?php echo $loggedinas ?><br />
|
||||
<?php echo $homelink ?>
|
||||
<?php if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
} ?>
|
||||
if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
<?php if (debugging()) {
|
||||
?>
|
||||
if (debugging()) { ?>
|
||||
<div class="validators"><ul>
|
||||
<li><a href="http://validator.w3.org/check?verbose=1&ss=1&uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a></li>
|
||||
<li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a></li>
|
||||
<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 } ?>
|
||||
<?php }
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,16 +20,16 @@
|
|||
<?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
|
||||
?>
|
||||
<div id="header-home" class="clearfix">
|
||||
<?php print_container_start(true, '', '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>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header" class="clearfix">
|
||||
<?php print_container_start(true, '', '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>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<?php } ?>
|
||||
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
|
||||
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
|
||||
|
@ -42,4 +42,4 @@
|
|||
<hr />
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue