public function continue_links(lesson $lesson, $lastpageseenid) {
        global $CFG;
        $output = $this->output->box(get_string('youhaveseen','lesson'), 'generalbox boxaligncenter');
        $output .= $this->output->box_start('center');

        $yeslink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id,
            'pageid' => $lastpageseenid, 'startlastseen' => 'yes')), get_string('yes'), array('class' => 'btn btn-primary'));
        $output .= html_writer::tag('span', $yeslink, array('class'=>'lessonbutton standardbutton'));
        $output .= '&nbsp;';

        $nolink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id,
            'pageid' => $lesson->firstpageid, 'startlastseen' => 'no')), get_string('no'), array('class' => 'btn btn-secondary'));
        $output .= html_writer::tag('span', $nolink, array('class'=>'lessonbutton standardbutton'));

        $output .= $this->output->box_end();
        return $output;
    }
public function continue_links(lesson $lesson, $lastpageseenid) {
        global $CFG;
        $output = $this->output->box(get_string('youhaveseen','lesson'), 'generalbox boxaligncenter');
        $output .= $this->output->box_start('center');

        $yeslink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id,
            'pageid' => $lastpageseenid, 'startlastseen' => 'yes')), get_string('yes'), array('class' => 'btn btn-primary'));
        $output .= html_writer::tag('span', $yeslink, array('class'=>'lessonbutton standardbutton'));
        $output .= '&nbsp;';

        $nolink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id,
            'pageid' => $lesson->firstpageid, 'startlastseen' => 'no')), get_string('no'), array('class' => 'btn btn-secondary'));
        $output .= html_writer::tag('span', $nolink, array('class'=>'lessonbutton standardbutton'));

        $output .= $this->output->box_end();
        return $output;
    }
public function continue_links ( lesson $ lesson , $ lastpageseenid ) { global $ CFG ; $ output = $ this -> output -> box ( get_string ( 'youhaveseen' , 'lesson' ) , 'generalbox boxaligncenter' ) ; $ output .= $ this -> output -> box_start ( 'center' ) ; $ yeslink = html_writer :: link ( new moodle_url ( '/mod/lesson/view.php' , array ( 'id' => $ this -> page -> cm -> id , 'pageid' => $ lastpageseenid , 'startlastseen' => 'yes' ) ) , get_string ( 'yes' ) , array ( 'class' => 'btn btn-primary' ) ) ; $ output .= html_writer :: tag ( 'span' , $ yeslink , array ( 'class' => 'lessonbutton standardbutton' ) ) ; $ output .= '&nbsp;' ; $ nolink = html_writer :: link ( new moodle_url ( '/mod/lesson/view.php' , array ( 'id' => $ this -> page -> cm -> id , 'pageid' => $ lesson -> firstpageid , 'startlastseen' => 'no' ) ) , get_string ( 'no' ) , array ( 'class' => 'btn btn-secondary' ) ) ; $ output .= html_writer :: tag ( 'span' , $ nolink , array ( 'class' => 'lessonbutton standardbutton' ) ) ; $ output .= $ this -> output -> box_end ( ) ; return $ output ; }
Returns HTML to display a continue button
@param lesson $lesson
@param int $lastpageseen
@return string
Returns HTML to display a continue button