changed $CFG-theme to current_theme() to make the theme working as course or session theme, see Bug #4315
This commit is contained in:
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><img src='<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/logo.jpg' /></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><img src='<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/logo_small.jpg' /></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<div class="navbar">
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html<?php echo $direction ?>>
|
||||
|
||||
<head>
|
||||
|
||||
<?php echo $meta ?>
|
||||
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
|
||||
<title><?php echo $title ?></title>
|
||||
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
<body<?php
|
||||
|
||||
echo " $bodytags";
|
||||
|
||||
if ($focus) {
|
||||
|
||||
echo " onload=\"setfocus()\"";
|
||||
|
||||
}
|
||||
|
||||
?>>
|
||||
|
||||
|
||||
|
||||
<div id="page">
|
||||
|
||||
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
|
||||
?>
|
||||
|
||||
<div id="header-home">
|
||||
|
||||
<div class="headermain"><img src='<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/logo.jpg' /></div>
|
||||
|
||||
+45
-45
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
+45
-45
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
};
|
||||
?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="navbar">
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<div class="navbar">
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
};
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="navbar">
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<div class="navbar">
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
@@ -1,43 +1,43 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
};
|
||||
?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="navbar">
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<div class="navbar">
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
};
|
||||
?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="navbar">
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<div class="navbar">
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
+45
-45
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
@@ -1,64 +1,64 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
if (file_exists($CFG->dirroot.'/logo.jpg')) {
|
||||
$standardlogo = $CFG->wwwroot.'/logo.jpg';
|
||||
} else if (file_exists($CFG->dirroot.'/logo.gif')) {
|
||||
$standardlogo = $CFG->wwwroot.'/logo.gif';
|
||||
} else if (file_exists($CFG->dataroot.'/1/logo.jpg')) {
|
||||
if (empty($CFG->slasharguments)) {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.jpg';
|
||||
} else {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php/1/logo.jpg';
|
||||
}
|
||||
} else if (file_exists($CFG->dataroot.'/1/logo.gif')) {
|
||||
if (empty($CFG->slasharguments)) {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.gif';
|
||||
} else {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php/1/logo.gif';
|
||||
}
|
||||
} else {
|
||||
$standardlogo = $CFG->wwwroot.'/theme/'.$CFG->theme.'/logo.gif';
|
||||
}
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><img src="<?php echo $standardlogo ?>" border="0" alt="" /></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
if (file_exists($CFG->dirroot.'/logo.jpg')) {
|
||||
$standardlogo = $CFG->wwwroot.'/logo.jpg';
|
||||
} else if (file_exists($CFG->dirroot.'/logo.gif')) {
|
||||
$standardlogo = $CFG->wwwroot.'/logo.gif';
|
||||
} else if (file_exists($CFG->dataroot.'/1/logo.jpg')) {
|
||||
if (empty($CFG->slasharguments)) {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.jpg';
|
||||
} else {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php/1/logo.jpg';
|
||||
}
|
||||
} else if (file_exists($CFG->dataroot.'/1/logo.gif')) {
|
||||
if (empty($CFG->slasharguments)) {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.gif';
|
||||
} else {
|
||||
$standardlogo = $CFG->wwwroot.'/file.php/1/logo.gif';
|
||||
}
|
||||
} else {
|
||||
$standardlogo = $CFG->wwwroot.'/theme/'.current_theme().'/logo.gif';
|
||||
}
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><img src="<?php echo $standardlogo ?>" border="0" alt="" /></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
+45
-45
@@ -1,45 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html<?php echo $direction ?>>
|
||||
<head>
|
||||
<?php echo $meta ?>
|
||||
<meta name="keywords" content="moodle, <?php echo $title ?> " />
|
||||
<title><?php echo $title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
||||
Reference in New Issue
Block a user