~ubuntu-branches/ubuntu/trusty/moodle/trusty-proposed

« back to all changes in this revision

Viewing changes to theme/formal_white/layout/frontpage.php

  • Committer: Package Import Robot
  • Author(s): Tomasz Muras
  • Date: 2012-11-15 21:50:13 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20121115215013-hmzkwz3v5hvm2a0a
Tags: 2.2.6.dfsg-1
New upstream version: 2.2.6 (Build: 20121112)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
} else {
37
37
    $logourl = $OUTPUT->pix_url('logo', 'theme');
38
38
}
 
39
if (strtolower(substr($logourl, 0, 4)) != 'http') {
 
40
    $logourl = $CFG->wwwroot.'/'.$logourl;
 
41
}
39
42
 
40
43
$hasframe = !isset($PAGE->theme->settings->noframe) || !$PAGE->theme->settings->noframe;
41
44