Forcing empty background

1.10.x
Julio 10 years ago
parent ba3907de63
commit f8932dce33
  1. 5
      main/exercice/exercise_result.php
  2. 5
      main/exercice/exercise_show.php
  3. 5
      main/exercice/result.php

@ -79,6 +79,11 @@ if ($origin != 'learnpath') {
// So we are not in learnpath tool
Display::display_header($nameTools, get_lang('Exercise'));
} else {
$htmlHeadXtra[] = "
<style>
body { background: none;}
</style>
";
Display::display_reduced_header();
}

@ -123,6 +123,11 @@ $this_section = SECTION_COURSES;
if ($origin != 'learnpath') {
Display::display_header('');
} else {
$htmlHeadXtra[] = "
<style>
body { background: none;}
</style>
";
Display::display_reduced_header();
}
?>

@ -62,6 +62,11 @@ if ($show_headers) {
$this_section = SECTION_COURSES;
Display::display_header();
} else {
$htmlHeadXtra[] = "
<style>
body { background: none;}
</style>
";
Display::display_reduced_header();
}

Loading…
Cancel
Save