MDL-12668 - Various themes not respecting theme varaibles

This commit is contained in:
poltawski
2007-12-20 17:31:18 +00:00
parent 7e9b2809a9
commit cf20428733
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpswwwroot ?>/theme/chameleon/styles_ie7.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/chameleon/styles_ie7.css" />
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpswwwroot ?>/theme/chameleon/styles_ie6.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/chameleon/styles_ie6.css" />
<![endif]-->
+3 -3
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) { // home page ?>
<?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>
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->themewww.'/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
<div class="headermenu"><?php echo $menu ?></div>
<?php print_container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
<?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>
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->themewww.'/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
<div class="headermenu"><?php echo $menu ?></div>
<?php print_container_end(); ?>
<div class="clearer"></div>
+2 -2
View File
@@ -1,6 +1,6 @@
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpswwwroot ?>/theme/standard/styles_ie7.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/standard/styles_ie7.css" />
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpswwwroot ?>/theme/standard/styles_ie6.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/standard/styles_ie6.css" />
<![endif]-->