Permalink
Browse files

Fixed image path problem

Restored tags for moodle heading.
  • Loading branch information...
1 parent 441c87b commit 5b0f288d954eb278a75820a9d556a98d85211f37 watcanz committed Jun 8, 2005
Showing with 7 additions and 7 deletions.
  1. +7 −7 theme/cornflower/header.html
@@ -10,15 +10,15 @@
<title><?php echo $title ?></title>
- <link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
+ <link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
<?php include("$CFG->javascript"); ?>
</head>
-<body background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/bg.gif" ?>" <?php
+<body background="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/bg.gif" <?php
echo " $bodytags";
@@ -52,15 +52,15 @@
<td>
- <table background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/headerbg.jpg" ?>" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
+ <table background="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/headerbg.jpg" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
<tr>
- <td valign="top" class="header1">&nbsp;</td>
+ <td valign="top" class="headermain"><?php echo $heading ?></td>
@@ -90,13 +90,13 @@
-<table background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/headerbg.jpg" ?>" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
+<table background="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/headerbg.jpg" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
<tr>
- <td valign="top">&nbsp;</td>
+ <td valign="top"><?php echo $heading ?></td>
- <td align="right" style="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ <td align="right" sty class="headermain"le="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
</tr>

0 comments on commit 5b0f288

Please sign in to comment.