mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
Bug #4315 - Use current_theme() instead of the $CFG-theme
This commit is contained in:
parent
25b7cdf308
commit
2ca8a6c672
@ -10,7 +10,7 @@
|
||||
?>
|
||||
|
||||
<?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>
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
</div> <!-- end div containerContent -->
|
||||
<!-- START OF FOOTER -->
|
||||
<?php global $CFG, $course; ?>
|
||||
|
||||
<div id="footer">
|
||||
<?php
|
||||
echo '<p class="helplink">';
|
||||
@ -11,12 +11,7 @@
|
||||
|
||||
<?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&ss=1&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()) ?>&warning=1&profile=css2&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&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>
|
||||
|
@ -1,21 +1,17 @@
|
||||
|
||||
</div> <!-- end div containerContent -->
|
||||
<!-- START OF FOOTER -->
|
||||
<?php global $CFG, $course; ?>
|
||||
|
||||
<div id="footer">
|
||||
<?php
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
?>
|
||||
|
||||
<?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&ss=1&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()) ?>&warning=1&profile=css2&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&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>
|
||||
|
@ -13,7 +13,7 @@
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
};
|
||||
?>
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
@ -41,4 +41,4 @@
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<div id="content">
|
||||
|
Loading…
x
Reference in New Issue
Block a user