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

Provide some default content for the loading bar.

It doesn't seem to appear in some browsers (I'm looking at you, Opera and Safari), but does make things a little nicer in IE.
parent 9433ab9c
......@@ -55,7 +55,10 @@ $SESSION->set('exportdata', '');
</style>
</head>
<body>
<div style="width: 100%; background-color: #808080;" class="progress-bar"></div>
<p class="progress-text"><?php echo get_string('Starting', 'export'); ?></p>
<?php
flush();
/**
* Outputs enough HTML to make a pretty error message in the iframe
......
......@@ -36,6 +36,7 @@ $string['exportyourportfolio'] = 'Export Your Portfolio';
$string['generateexport'] = 'Generate export';
$string['justsomeviews'] = 'Just some of my Views';
$string['pleasewaitwhileyourexportisbeinggenerated'] = 'Please wait while your export is being generated...';
$string['Starting'] = 'Starting';
$string['unabletoexportportfoliousingoptions'] = 'Unable to export a portfolio using the chosen options';
$string['unabletogenerateexport'] = 'Unable to generate export';
$string['viewstoexport'] = 'Views to export';
......
Markdown is supported
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