mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
<?php // $Id$
|
|
/**
|
|
* Start of the HTML template for viewing pages
|
|
*
|
|
* @version $Id$
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
|
* @package lesson
|
|
**/
|
|
?>
|
|
<!-- Start view start -->
|
|
<table id="layout-table" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<!-- First Column -->
|
|
<?php if (lesson_blocks_have_content($lesson, $pageblocks, BLOCK_POS_LEFT)) { ?>
|
|
<td id="left-column" style="width: <?php echo $leftcolumnwidth; ?>px;">
|
|
<?php
|
|
lesson_print_menu_block($cm->id, $lesson);
|
|
|
|
if (!empty($CFG->showblocksonmodpages)) {
|
|
if ((blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $PAGE->user_is_editing())) {
|
|
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
|
}
|
|
}
|
|
?>
|
|
</td>
|
|
<?php } ?>
|
|
<!-- Start main column -->
|
|
<td id="middle-column" align="center">
|
|
|
|
<?php if ($lesson->displayleft) { ?>
|
|
|
|
<a name="maincontent" id="maincontent" title="<?php print_string('anchortitle', 'lesson') ?>"></a>
|
|
|
|
<?php } ?>
|
|
|
|
<?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;">
|
|
|
|
<?php } ?>
|
|
<!-- End view start --> |