mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Moved some printing out of the center column (keeps blocks and center column content aligned) and cleaned some white space
This commit is contained in:
parent
16a7ab9826
commit
124b1091fa
2 changed files with 16 additions and 17 deletions
|
@ -510,6 +510,16 @@
|
||||||
|
|
||||||
/// Print the page header, heading and tabs
|
/// Print the page header, heading and tabs
|
||||||
$PAGE->print_header();
|
$PAGE->print_header();
|
||||||
|
|
||||||
|
if ($attemptflag) {
|
||||||
|
print_heading(get_string('attempt', 'lesson', $retries + 1));
|
||||||
|
}
|
||||||
|
|
||||||
|
/// This calculates and prints the ongoing score
|
||||||
|
if ($lesson->ongoing and !empty($pageid)) {
|
||||||
|
lesson_print_ongoing_score($lesson);
|
||||||
|
}
|
||||||
|
|
||||||
require($CFG->dirroot.'/mod/lesson/viewstart.html');
|
require($CFG->dirroot.'/mod/lesson/viewstart.html');
|
||||||
|
|
||||||
// now starting to print the page's contents
|
// now starting to print the page's contents
|
||||||
|
|
|
@ -26,27 +26,16 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<!-- Start main column -->
|
<!-- Start main column -->
|
||||||
<td id="middle-column" align="center">
|
<td id="middle-column" align="center">
|
||||||
|
|
||||||
<?php if ($lesson->displayleft) { ?>
|
<?php if ($lesson->displayleft) { ?>
|
||||||
|
|
||||||
<a name="maincontent" id="maincontent" title="<?php print_string('anchortitle', 'lesson') ?>"></a>
|
<a name="maincontent" id="maincontent" title="<?php print_string('anchortitle', 'lesson') ?>"></a>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php if($lesson->slideshow && $page->qtype == LESSON_BRANCHTABLE) { // Starts the slideshow div ?>
|
<?php if ($lesson->slideshow && $page->qtype == LESSON_BRANCHTABLE) { // Starts the slideshow div ?>
|
||||||
|
|
||||||
<div class="slideshow" style="background-color: <?php echo $lesson->bgcolor?>; height: <?php echo $lesson->height ?>px; width: <?php echo $lesson->width?>px;">
|
<div class="slideshow" style="background-color: <?php echo $lesson->bgcolor?>; height: <?php echo $lesson->height ?>px; width: <?php echo $lesson->width?>px;">
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php
|
|
||||||
if ($attemptflag) {
|
|
||||||
print_heading(get_string('attempt', 'lesson', $retries + 1));
|
|
||||||
}
|
|
||||||
|
|
||||||
/// This calculates and prints the ongoing score
|
|
||||||
if ($lesson->ongoing and !empty($pageid)) {
|
|
||||||
lesson_print_ongoing_score($lesson);
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<!-- End view start -->
|
<!-- End view start -->
|
Loading…
Add table
Add a link
Reference in a new issue