Permalink
Browse files

Merge branch 'MDL-27710_m21' of git://github.com/rwijaya/moodle into …

…MOODLE_21_STABLE
  • Loading branch information...
2 parents 94c2ba8 + 1bca128 commit d6e3be6d7966d308009b870dd7f2675a4c22135e @danpoltawski danpoltawski committed Mar 26, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 mod/lesson/pagetypes/branchtable.php
@@ -79,6 +79,10 @@ public static function get_jumptooptions($firstpage, $lesson) {
$jump[LESSON_NEXTPAGE] = get_string("nextpage", "lesson");
$jump[LESSON_PREVIOUSPAGE] = get_string("previouspage", "lesson");
$jump[LESSON_EOL] = get_string("endoflesson", "lesson");
+ $jump[LESSON_UNSEENBRANCHPAGE] = get_string("unseenpageinbranch", "lesson");
+ $jump[LESSON_RANDOMPAGE] = get_string("randompageinbranch", "lesson");
+ $jump[LESSON_RANDOMBRANCH] = get_string("randombranch", "lesson");
+
if (!$firstpage) {
if (!$apageid = $DB->get_field("lesson_pages", "id", array("lessonid" => $lesson->id, "prevpageid" => 0))) {
print_error('cannotfindfirstpage', 'lesson');

0 comments on commit d6e3be6

Please sign in to comment.