> <?php echo $title ?> javascript"); ?> >
dirroot.'/logo.jpg')) { $standardlogo = $CFG->httpswwwroot.'/logo.jpg'; } else if (file_exists($CFG->dirroot.'/logo.gif')) { $standardlogo = $CFG->httpswwwroot.'/logo.gif'; } else if (file_exists($CFG->dataroot.'/1/logo.jpg')) { require_once($CFG->libdir.'/filelib.php'); $standardlogo = get_file_url('1/logo.jpg', null, 'httpscoursefile'); } else if (file_exists($CFG->dataroot.'/1/logo.gif')) { require_once($CFG->libdir.'/filelib.php'); $standardlogo = get_file_url('1/logo.gif', null, 'httpscoursefile'); } else { $standardlogo = $CFG->httpsthemewww .'/'. current_theme().'/logo.gif'; } //Accessibility: warning: ALT text will need editing if logo changes. 'headermain' is now H1. ?>

Moodle