3 * HTML template for continue.php
10 <!-- Primary layout table -->
11 <table id=
"layout-table" cellpadding=
"0" cellspacing=
"0">
14 <?php if (lesson_blocks_have_content($lesson, $pageblocks, BLOCK_POS_LEFT
)) { ?>
15 <td id=
"left-column" style=
"width: <?php echo $leftcolumnwidth; ?>px;">
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
);
27 <!-- Start Primary column -->
28 <td id=
"middle-column">
30 <?php if ($lesson->displayleft
) { // Skip navigation anchor ?>
32 <a name
="maincontent" id
="maincontent" title
="<?php print_string('anchortitle', 'lesson') ?>"></a
>
37 // This calculates and prints the ongoing score message
38 if ($lesson->ongoing
) {
39 lesson_print_ongoing_score($lesson);
43 <?php echo $feedback ?>
45 <?php if (isset($USER->modattempts
[$lesson->id
])) { // User is modifying attempts - save button and some instructions ?>
47 <form id
="endoflesson" method
="post" action
="<?php echo $CFG->wwwroot ?>/mod/lesson/view.php">
48 <input type
="hidden" name
="id" value
="<?php echo $cm->id ?>" />
49 <input type
="hidden" name
="pageid" value
="<?php echo LESSON_EOL; ?>" />
52 <?php
print_string("savechangesandeol", "lesson") ?>
55 <?php lesson_print_submit_link(get_string('savechanges', 'lesson'), 'endoflesson'); ?>
58 <?php print_string("or", "lesson") ?>
61 <?php print_string("continuetoanswer", "lesson") ?>
67 <?php if ($lesson->review
&& !$correctanswer && !$noanswer && !$isessayquestion) { // Review button back ?>
69 <form id
="reviewback" method
="post" action
="<?php echo $CFG->wwwroot ?>/mod/lesson/view.php">
70 <input type
="hidden" name
="id" value
="<?php echo $cm->id ?>" />
71 <input type
="hidden" name
="pageid" value
="<?php echo $pageid; ?>" />
74 <?php
lesson_print_submit_link(get_string('reviewquestionback', 'lesson'), 'reviewback'); ?>
81 <form id=
"pageform" method =
"post" action=
"<?php echo $CFG->wwwroot ?>/mod/lesson/view.php">
82 <input type
="hidden" name
="id" value
="<?php echo $cm->id ?>" />
83 <input type
="hidden" name
="pageid" value
="<?php echo $newpageid ?>" />
85 <?php
if ($lesson->review
&& !$correctanswer && !$noanswer && !$isessayquestion) { // Review button continue ?>
88 <?php
lesson_print_submit_link(get_string('reviewquestioncontinue', 'lesson'), 'pageform'); ?>
91 <?php } else { // Normal continue button ?>
94 <?php
lesson_print_submit_link(get_string('continue', 'lesson'), 'pageform'); ?>
101 <!-- End primary column -->
102 <?php if (lesson_blocks_have_content($lesson, $pageblocks, BLOCK_POS_RIGHT
)) { ?>
103 <td id=
"right-column" style=
"width: <?php echo $rightcolumnwidth; ?>px;">
104 <!-- Third column
-->
106 lesson_print_clock_block($cm->id
, $lesson, $timer);
107 lesson_print_mediafile_block($cm->id
, $lesson);
109 if (!empty($CFG->showblocksonmodpages
)) {
110 if ((blocks_have_content($pageblocks, BLOCK_POS_RIGHT
) ||
$PAGE->user_is_editing())) {
111 blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT
);
119 <!-- End primary layout table -->