3 * Start of the HTML template for viewing pages
6 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
10 <!-- Start view start -->
11 <table id=
"layout-table" cellpadding=
"0" cellspacing=
"0">
14 <?php if (lesson_blocks_have_content($lesson, $pageblocks, BLOCK_POS_LEFT
)) { ?>
15 <td id=
"left-column" style=
"width: <?php echo $leftcolumnwidth; ?>px;">
17 lesson_print_menu_block($cm->id
, $lesson);
19 if (!empty($CFG->showblocksonmodpages
)) {
20 if ((blocks_have_content($pageblocks, BLOCK_POS_LEFT
) ||
$PAGE->user_is_editing())) {
21 blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT
);
27 <!-- Start main column -->
28 <td id=
"middle-column" align=
"center">
30 <?php if ($lesson->displayleft
) { ?>
32 <a name=
"maincontent" id=
"maincontent" title=
"<?php print_string('anchortitle', 'lesson') ?>"></a
>
36 <?php if ($lesson->slideshow
&& $page->qtype
== LESSON_BRANCHTABLE
) { // Starts the slideshow div ?>
38 <div
class="slideshow" style
="background-color: <?php echo $lesson->bgcolor?>; height: <?php echo $lesson->height ?>px; width: <?php echo $lesson->width?>px;">
41 <!-- End view start -->