Commit fa38ca20 authored by Nigel McNie's avatar Nigel McNie
Browse files

Include all stylesheets in the theme hierarchy so the progress bar looks...

Include all stylesheets in the theme hierarchy so the progress bar looks correct even when using a child theme.
(cherry picked from commit 6813e29bb6be7721921923644ed340ca80d03ea3)
parent ac0c8794
...@@ -41,11 +41,14 @@ if (!$exportdata = $SESSION->get('exportdata')) { ...@@ -41,11 +41,14 @@ if (!$exportdata = $SESSION->get('exportdata')) {
} }
$SESSION->set('exportdata', ''); $SESSION->set('exportdata', '');
$stylesheets = array_reverse(theme_get_url('style/style.css', null, true));
?> ?>
<html> <html>
<head> <head>
<title></title> <title></title>
<link rel="stylesheet" type="text/css" href="<?php echo theme_get_url('style/style.css'); ?>"> <?php foreach ($stylesheets as $stylesheet) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo hsc($stylesheet); ?>">
<?php } ?>
<style type="text/css"> <style type="text/css">
html, body { html, body {
margin: 0; margin: 0;
......
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