Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / lesson / viewstart.html
blobd9286e96aece75d0ec6be6b0888cdbc2d8240d0d
1 <?php // $Id$
2 /**
3 * Start of the HTML template for viewing pages
5 * @version $Id$
6 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
7 * @package lesson
8 **/
9 ?>
10 <!-- Start view start -->
11 <table id="layout-table" cellpadding="0" cellspacing="0">
12 <tr>
13 <!-- First Column -->
14 <?php if (lesson_blocks_have_content($lesson, $pageblocks, BLOCK_POS_LEFT)) { ?>
15 <td id="left-column" style="width: <?php echo $leftcolumnwidth; ?>px;">
16 <?php
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);
25 </td>
26 <?php } ?>
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>
34 <?php } ?>
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;">
40 <?php } ?>
41 <!-- End view start -->