* @return string\r
*/\r
public function headerLogo() {\r
- $logos = $this->image('/images/logo/leave-2.svg', 'Fluidbook logo', -1, -1, array('class' => 'leave'));\r
- $logos .= $this->htmlElement($this->image('/images/logo/text-white-2.svg', 'Fluidbook', -1, -1, array('class' => 'text-white')) . $this->image('/images/logo/text-dark-2.svg', 'Fluidbook', -1, -1, array('class' => 'text-dark')), 'div', array('class' => 'text'));\r
+ $logoLeave = '/images/logo/leave.svg';\r
+ $logoWhite = '/images/logo/text-white.svg';\r
+ $logoDark = '/images/logo/text-dark.svg';\r
+ if(strstr(SITE_URL, 'elearning')) {\r
+ $logoLeave = '/images/logo/leave-2.svg';\r
+ $logoWhite = '/images/logo/text-white-2.svg';\r
+ $logoDark = '/images/logo/text-dark-2.svg';\r
+ }\r
+\r
+ $logos = $this->image($logoLeave, 'Fluidbook logo', -1, -1, array('class' => 'leave'));\r
+ $logos .= $this->htmlElement($this->image($logoWhite, 'Fluidbook', -1, -1, array('class' => 'text-white')) . $this->image($logoDark, 'Fluidbook', -1, -1, array('class' => 'text-dark')), 'div', array('class' => 'text'));\r
\r
return $this->link($logos, '/', array('class' => 'logo'));\r
}\r