Browse files

Bug #4315 - Use current_theme() instead of the $CFG-theme

  • Loading branch information...
1 parent 44f68ae commit 7fec43e72f95278538097d5e1d5fadaceb7b1311 urs_hunkler committed Apr 23, 2006
View
2 theme/cornflower/footer.html
@@ -4,7 +4,7 @@
<div id="footer">
<?php echo $loggedinas ?>
-<p align="center"><a href="http://moodle.org" target="_blank"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/moodlelogo.gif" ?>" border="0"></a></p>
+<p align="center"><a href="http://moodle.org" target="_blank"><img src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/moodlelogo.gif" border="0" /></a></p>
</div>
</div>
View
9 theme/orangewhite/footer.html
@@ -1,16 +1,11 @@
</div> <!-- end div containerContent -->
<!-- START OF FOOTER -->
-<?php global $CFG, $course; ?>
+
<div id="footer">
<?php echo $loggedinas ?>
<?php echo $homelink ?>
-<!-- <p><div class="homelink"><a target="<?php echo $CFG->framename ?>" href="<?php $CFG->wwwroot ?>/course/view.php?id=<?php $course->id ?>"> <?php $course->shortname ?> </a></div></p> -->
-<p>
-<!-- <<a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/xhtml_1_0.gif" alt="XHTML Validator" /></a>
-<a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo urlencode(qualified_me()) ?>&amp;warning=1&amp;profile=css2&amp;usermedium=all"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/css.gif" alt="CSS Validator" /></a>
-<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/section_508.gif" alt="Section 508 Validator" /></a> -->
-</p>
+
</div>
</div>
</body>
View
9 theme/orangewhitepda/footer.html
@@ -1,16 +1,11 @@
</div> <!-- end div containerContent -->
<!-- START OF FOOTER -->
-<?php global $CFG, $course; ?>
+
<div id="footer">
<?php echo $loggedinas ?>
<?php echo $homelink ?>
-<!-- <p><div class="homelink"><a target="<?php echo $CFG->framename ?>" href="<?php $CFG->wwwroot ?>/course/view.php?id=<?php $course->id ?>"> <?php $course->shortname ?> </a></div></p> -->
-<p>
-<!-- <<a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/xhtml_1_0.gif" alt="XHTML Validator" /></a>
-<a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo urlencode(qualified_me()) ?>&amp;warning=1&amp;profile=css2&amp;usermedium=all"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/css.gif" alt="CSS Validator" /></a>
-<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/section_508.gif" alt="Section 508 Validator" /></a> -->
-</p>
+
</div>
</div>
</body>
View
4 theme/orangewhitepda/header.html
@@ -13,7 +13,7 @@
if ($focus) {
echo " onload=\"setfocus()\"";
};
- ?>
+ ?>>
<div id="page">
@@ -40,4 +40,4 @@
</div>
<?php } ?>
<!-- END OF HEADER -->
-<div id="content">
+<div id="content">

0 comments on commit 7fec43e

Please sign in to comment.