mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
888f0c5460
* added pagelib.php with lesson_page class definition * Lesson view now uses standard page layout classes Other fixes: * minor fix to mod settings form * fixed function names (some were missing lesson_ prefix)
28 lines
915 B
HTML
28 lines
915 B
HTML
<?php // $Id$
|
|
/**
|
|
* End of the HTML template for viewing pages
|
|
*
|
|
* @version $Id$
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
|
* @package lesson
|
|
**/
|
|
?>
|
|
<!-- Start view end -->
|
|
</td>
|
|
<?php if (lesson_blocks_have_content($lesson, $pageblocks, BLOCK_POS_RIGHT)) { ?>
|
|
<td id="right-column" style="width: <?php echo $rightcolumnwidth; ?>px;">
|
|
<?php
|
|
lesson_print_clock_block($cm->id, $lesson, $timer);
|
|
lesson_print_mediafile_block($cm->id, $lesson);
|
|
|
|
if (!empty($CFG->showblocksonmodpages)) {
|
|
if ((blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $PAGE->user_is_editing())) {
|
|
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
|
}
|
|
}
|
|
?>
|
|
</td>
|
|
<?php } ?>
|
|
</tr>
|
|
</table>
|
|
<!-- End view end --> |