mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
42 lines
1.3 KiB
HTML
42 lines
1.3 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 width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<!-- First Column -->
|
|
<td valign="top">
|
|
<?php print_menu_block($cm->id, $lesson); ?>
|
|
</td>
|
|
<!-- Start main column -->
|
|
<td style="width:100%;" 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 } ?>
|
|
|
|
<?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 --> |