mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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,30 +1,31 @@
|
|||
|
||||
</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 }
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
<?php if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
} ?>
|
||||
if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,16 +20,16 @@
|
|||
<?php //Accessibility: warning: ALT text will need editing when logo changes. 'headermain' is now H1.
|
||||
|
||||
if ($home) { // home page ?>
|
||||
<div id="header-home">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></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-home">
|
||||
<?php print_container_start(true, '', 'header'); ?>
|
||||
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<div class="clearer"></div>
|
||||
<?php } ?>
|
||||
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
|
||||
|
@ -43,4 +43,4 @@
|
|||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div class="clearer"></div>
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
|
@ -1,44 +1,37 @@
|
|||
<?php print_custom_corners_end(false, 'content'); ?>
|
||||
</div> <!-- end div containerContent -->
|
||||
<?php print_container_end(); ?><!-- end container Content -->
|
||||
<!-- START OF FOOTER -->
|
||||
<?php
|
||||
global $CFG, $COURSE;
|
||||
if (function_exists('is_in_popup')) {
|
||||
$inpopup = is_in_popup();
|
||||
} else {
|
||||
$inpopup = false;
|
||||
}
|
||||
|
||||
global $CFG, $COURSE;
|
||||
if (function_exists('is_in_popup')) {
|
||||
$inpopup = is_in_popup();
|
||||
} else {
|
||||
$inpopup = false;
|
||||
}
|
||||
|
||||
if (!$inpopup) {
|
||||
print_container_start(false, '', 'footer');
|
||||
|
||||
if (!$inpopup) {
|
||||
?>
|
||||
<div id="footer">
|
||||
<?php print_custom_corners_start(); ?>
|
||||
<?php
|
||||
if (function_exists('page_doc_link')) {
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
}
|
||||
?>
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink;
|
||||
?>
|
||||
<?php print_custom_corners_end(); ?>
|
||||
</div>
|
||||
<?php
|
||||
$useridarray = array(2 // MD
|
||||
);
|
||||
|
||||
if (!empty($performanceinfo) && isloggedin() && in_array($USER->id, $useridarray)) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
$useridarray = array(2 // MD
|
||||
);
|
||||
|
||||
if (!empty($performanceinfo) && isloggedin() && in_array($USER->id, $useridarray)) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
print_container_end();
|
||||
|
||||
} // end if inpopup
|
||||
|
||||
} // end if inpopup
|
||||
?>
|
||||
</div> <!-- end page div -->
|
||||
<?php
|
||||
print_custom_corners_end();
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
$(document).ready(function() {
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
<?php include("$CFG->javascript"); ?>
|
||||
<?php include('js/jquery.php'); ?>
|
||||
|
||||
<?php require_once($CFG->dirroot.'/lib/custom_corners_lib.php'); ?>
|
||||
|
||||
<?php
|
||||
|
||||
global $PAGE;
|
||||
|
@ -78,32 +76,27 @@
|
|||
<?php if (!$inpopup) {
|
||||
if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home" class="clearfix">
|
||||
<?php print_custom_corners_start(); ?>
|
||||
<div class="wraphome clearfix">
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php print_custom_corners_end(); ?>
|
||||
</div>
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<div class="wraphome clearfix">
|
||||
<h1 class="headermain"><?php echo $heading ?></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_custom_corners_start(); ?>
|
||||
<?php print_container_start(true, '', 'header'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<div class="navbar clearfix">
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs
|
||||
?>
|
||||
<div class="navbar clearfix">
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs
|
||||
?>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php print_custom_corners_end(); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_custom_corners_start(true, false, 'content'); ?>
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
|
@ -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'); ?>
|
||||
|
|
|
@ -1,29 +1,33 @@
|
|||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
<hr />
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
|
||||
echo '<hr />';
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
echo '<hr />';
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
?>
|
||||
|
||||
<?php if (debugging()) {
|
||||
echo $performanceinfo;
|
||||
?>
|
||||
if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
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>
|
||||
|
|
|
@ -19,16 +19,16 @@
|
|||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></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">
|
||||
<?php print_container_start(true, '', 'header'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
|
@ -42,4 +42,4 @@
|
|||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
|
@ -1,41 +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 ?>
|
||||
<?php echo $homelink ?>
|
||||
if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
<?php 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: '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"><?php echo $heading ?></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"><?php echo $heading ?></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'); ?>
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
|
||||
</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>';
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -19,19 +19,19 @@
|
|||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<div class="navbar">
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<?php print_container_start(true, '', '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 print_container_end(); ?>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs
|
||||
?>
|
||||
|
@ -41,4 +41,4 @@
|
|||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
|
||||
</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>';
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -19,19 +19,19 @@
|
|||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<div class="navbar">
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<?php print_container_start(true, '', '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 print_container_end(); ?>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs
|
||||
?>
|
||||
|
@ -41,4 +41,4 @@
|
|||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
|
@ -1,39 +1,39 @@
|
|||
|
||||
</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 }
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
echo $loggedinas;
|
||||
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: '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"><?php echo $heading ?></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"><?php echo $heading ?></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'); ?>
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
<hr />
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
echo '<hr />';
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,16 +20,16 @@
|
|||
<?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
|
||||
?>
|
||||
<div id="header-home" class="clearfix">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></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"><?php echo $heading ?></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'); ?>
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
<hr />
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
echo '<hr />';
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,16 +20,16 @@
|
|||
<?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
|
||||
?>
|
||||
<div id="header-home" class="clearfix">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></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"><?php echo $heading ?></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'); ?>
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
<hr />
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
echo '<hr />';
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -40,16 +40,16 @@
|
|||
|
||||
//Accessibility: warning: ALT text will need editing if logo changes. 'headermain' is now H1.
|
||||
?>
|
||||
<div id="header-home" class="clearfix">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><img alt="Moodle" src="<?php echo $standardlogo ?>" /></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"><?php echo $heading ?></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 table with breadcrumbs ?>
|
||||
|
@ -62,4 +62,4 @@
|
|||
<hr />
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
<hr />
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
echo '<hr />';
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,16 +20,16 @@
|
|||
<?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
|
||||
?>
|
||||
<div id="header-home" class="clearfix">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></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"><?php echo $heading ?></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'); ?>
|
||||
|
|
|
@ -1,21 +1,18 @@
|
|||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
<hr />
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
echo "<hr />";
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
|
||||
<?php
|
||||
if (has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM)) and !empty($performanceinfo)) {
|
||||
if (!empty($performanceinfo) and has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
|
@ -26,10 +23,10 @@
|
|||
<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: '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"><?php echo $heading ?></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"><?php echo $heading ?></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 ?>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php }
|
||||
print_container_end(); ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(true, '', 'content'); ?>
|
||||
|
|
|
@ -1,23 +1,24 @@
|
|||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
|
||||
echo "<div id=\"footer-bar\">";
|
||||
echo '<span class="helplink">';
|
||||
echo ' '.page_doc_link(get_string('moodledocslink'));
|
||||
echo '</span>';
|
||||
echo "</div>";
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
}
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
<?php if (!empty($performanceinfo)) {
|
||||
echo $performanceinfo;
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -19,16 +19,16 @@
|
|||
|
||||
<?php 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"><?php echo $heading ?></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"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<div class="navbar clearfix">
|
||||
|
@ -41,4 +41,4 @@
|
|||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue