Skip to content

Commit

Permalink
Regression using the wrong config variables, see MDL-8257
Browse files Browse the repository at this point in the history
  • Loading branch information
poltawski committed Mar 13, 2007
1 parent bceb6eb commit 90fe299
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions theme/cornflower/header.html
Expand Up @@ -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>

Expand All @@ -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 } ?>
Expand All @@ -41,4 +41,4 @@
?>
<?php } ?>
<!-- END OF HEADER -->
<div id="content">
<div id="content">

0 comments on commit 90fe299

Please sign in to comment.