Files
moodle/mod/lesson/viewstart.html
T
mark-nielsen f521f98a22 modified some strings to add more meaning to buttons and links
left menu, clock and media file all display like blocks
some general code cleanup eg: went through several of the todo's in the code
2006-12-30 17:29:44 +00:00

42 lines
1.2 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>
<tr valign="top">
<!-- First Column -->
<td valign="top">
<?php print_menu_block($cm->id, $lesson); ?>
</td>
<!-- Start main column -->
<td 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 -->