Commit 0ef2631d authored by lazydaisy's avatar lazydaisy
Browse files

MDL-55226 theme/index.php: Tidy up irregular spacing in original markup

parent 4b58fc61
......@@ -207,7 +207,7 @@ if (!empty($CFG->enabledevicedetection) && empty($device)) {
// Link to the screenshot, now mandatory - the image path is hardcoded because we need image from other themes,
// not the current one.
$screenshotpath = new moodle_url('/theme/image.php',
array('theme'=>$themename, 'image'=>'screenshot', 'component'=>'theme'));
array('theme' => $themename, 'image' => 'screenshot', 'component' => 'theme'));
// Contents of the first screenshot/preview cell.
$row[] = html_writer::empty_tag('img', array('class' => 'img-responsive img-fluid',
'src' => $screenshotpath, 'alt' => $strthemename));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment