Skip to content

Commit

Permalink
MDL-39607 theme: Update Moodle logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart committed Apr 17, 2014
1 parent 0b10dfc commit 970c441
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/installlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ function install_print_footer($config, $reload=false) {

$homelink = '<div class="sitelink">'.
'<a title="Moodle '. $CFG->target_release .'" href="http://docs.moodle.org/en/Administrator_documentation" onclick="this.target=\'_blank\'">'.
'<img style="width:100px;height:30px" src="pix/moodlelogo.gif" alt="moodlelogo" /></a></div>';
'<img src="pix/moodlelogo.png" alt="moodlelogo" /></a></div>';

echo '</form></div>';
echo '<div id="footer"><hr />'.$homelink.'</div>';
Expand Down
4 changes: 2 additions & 2 deletions lib/outputrenderers.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,13 +698,13 @@ public function home_link() {
// Special case for site home page - please do not remove
return '<div class="sitelink">' .
'<a title="Moodle" href="http://moodle.org/">' .
'<img style="width:100px;height:30px" src="' . $this->pix_url('moodlelogo') . '" alt="moodlelogo" /></a></div>';
'<img src="' . $this->pix_url('moodlelogo') . '" alt="moodlelogo" /></a></div>';

} else if (!empty($CFG->target_release) && $CFG->target_release != $CFG->release) {
// Special case for during install/upgrade.
return '<div class="sitelink">'.
'<a title="Moodle" href="http://docs.moodle.org/en/Administrator_documentation" onclick="this.target=\'_blank\'">' .
'<img style="width:100px;height:30px" src="' . $this->pix_url('moodlelogo') . '" alt="moodlelogo" /></a></div>';
'<img src="' . $this->pix_url('moodlelogo') . '" alt="moodlelogo" /></a></div>';

} else if ($this->page->course->id == $SITE->id || strpos($this->page->pagetype, 'course-view') === 0) {
return '<div class="homelink"><a href="' . $CFG->wwwroot . '/">' .
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/other/pdflibtestpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function _getfontpath() {
$doc->setPrintHeader(true);
$doc->setHeaderMargin(10);
$doc->setHeaderFont(array($fontfamily, 'b', 10));
$doc->setHeaderData('pix/moodlelogo-med-white.gif', 40, $SITE->fullname, $CFG->wwwroot);
$doc->setHeaderData('pix/moodlelogo-med.png', 40, $SITE->fullname, $CFG->wwwroot);

$doc->setPrintFooter(true);
$doc->setFooterMargin(10);
Expand Down
Binary file added pix/moodlelogo-med.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/moodlelogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/base/pix/favicon.ico
Binary file not shown.

0 comments on commit 970c441

Please sign in to comment.