From 970c44196cafb57f5e39e00267e19df663ced898 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Thu, 17 Apr 2014 14:33:39 +0800 Subject: [PATCH] MDL-39607 theme: Update Moodle logo --- lib/installlib.php | 2 +- lib/outputrenderers.php | 4 ++-- lib/tests/other/pdflibtestpage.php | 2 +- pix/moodlelogo-med.png | Bin 0 -> 4640 bytes pix/moodlelogo.png | Bin 0 -> 2450 bytes theme/base/pix/favicon.ico | Bin 894 -> 1150 bytes 6 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 pix/moodlelogo-med.png create mode 100644 pix/moodlelogo.png diff --git a/lib/installlib.php b/lib/installlib.php index d4f12dcefd698..e6f468f2a3709 100644 --- a/lib/installlib.php +++ b/lib/installlib.php @@ -391,7 +391,7 @@ function install_print_footer($config, $reload=false) { $homelink = ''; + 'moodlelogo'; echo ''; echo ''; diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index e1795bdaf9334..341f3175cdad7 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -698,13 +698,13 @@ public function home_link() { // Special case for site home page - please do not remove return ''; + 'moodlelogo'; } else if (!empty($CFG->target_release) && $CFG->target_release != $CFG->release) { // Special case for during install/upgrade. return ''; + 'moodlelogo'; } else if ($this->page->course->id == $SITE->id || strpos($this->page->pagetype, 'course-view') === 0) { return '