Regression using the wrong config variables, see MDL-8257

This commit is contained in:
poltawski
2007-03-13 14:31:56 +00:00
parent bceb6eb9d8
commit 90fe299739
+4 -4
View File
@@ -4,7 +4,7 @@
<?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" />
<link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
<?php include("$CFG->javascript"); ?>
</head>
@@ -21,13 +21,13 @@
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() ?>/images/logo.jpg" width="457" height="112"></div>
<div class="headermain"><img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/logo.jpg" width="457" height="112"></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-home">
<div class="headermain"><img src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="112"></div>
<div class="headermain"><img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/logo.jpg" width="457" height="112"></div>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php } ?>
@@ -41,4 +41,4 @@
?>
<?php } ?>
<!-- END OF HEADER -->
<div id="content">
<div id="content">