original_string: public function install_licence_page() {
          global $CFG;
          $output = '';
  
          $copyrightnotice = text_to_html(get_string('gpl3'));
          $copyrightnotice = str_replace('target="_blank"', 'onclick="this.target=\'_blank\'"', $copyrightnotice); // extremely ugly validation hack
  
          $continue = new single_button(new moodle_url($this->page->url, array(
              'lang' => $CFG->lang, 'agreelicense' => 1)), get_string('continue'), 'get');
  
          $output .= $this->header();
          $output .= $this->heading('<a href="http://moodle.org">Moodle</a> - Modular Object-Oriented Dynamic Learning Environment');
          $output .= $this->heading(get_string('copyrightnotice'));
          $output .= $this->box($copyrightnotice, 'copyrightnotice');
          $output .= html_writer::empty_tag('br');
          $output .= $this->confirm(get_string('doyouagree'), $continue, "http://docs.moodle.org/dev/License");
          $output .= $this->footer();
  
          return $output;
      }
code: public function install_licence_page() {
          global $CFG;
          $output = '';
  
          $copyrightnotice = text_to_html(get_string('gpl3'));
          $copyrightnotice = str_replace('target="_blank"', 'onclick="this.target=\'_blank\'"', $copyrightnotice); // extremely ugly validation hack
  
          $continue = new single_button(new moodle_url($this->page->url, array(
              'lang' => $CFG->lang, 'agreelicense' => 1)), get_string('continue'), 'get');
  
          $output .= $this->header();
          $output .= $this->heading('<a href="http://moodle.org">Moodle</a> - Modular Object-Oriented Dynamic Learning Environment');
          $output .= $this->heading(get_string('copyrightnotice'));
          $output .= $this->box($copyrightnotice, 'copyrightnotice');
          $output .= html_writer::empty_tag('br');
          $output .= $this->confirm(get_string('doyouagree'), $continue, "http://docs.moodle.org/dev/License");
          $output .= $this->footer();
  
          return $output;
      }
code_tokens: public function install_licence_page ( ) { global $ CFG ; $ output = '' ; $ copyrightnotice = text_to_html ( get_string ( 'gpl3' ) ) ; $ copyrightnotice = str_replace ( 'target="_blank"' , 'onclick="this.target=\'_blank\'"' , $ copyrightnotice ) ; // extremely ugly validation hack $ continue = new single_button ( new moodle_url ( $ this -> page -> url , array ( 'lang' => $ CFG -> lang , 'agreelicense' => 1 ) ) , get_string ( 'continue' ) , 'get' ) ; $ output .= $ this -> header ( ) ; $ output .= $ this -> heading ( '<a href="http://moodle.org">Moodle</a> - Modular Object-Oriented Dynamic Learning Environment' ) ; $ output .= $ this -> heading ( get_string ( 'copyrightnotice' ) ) ; $ output .= $ this -> box ( $ copyrightnotice , 'copyrightnotice' ) ; $ output .= html_writer :: empty_tag ( 'br' ) ; $ output .= $ this -> confirm ( get_string ( 'doyouagree' ) , $ continue , "http://docs.moodle.org/dev/License" ) ; $ output .= $ this -> footer ( ) ; return $ output ; }
docstring: Display the 'Do you acknowledge the terms of the GPL' page. The first page
  during install.
  @return string HTML to output.
docstring_tokens: Display the Do you acknowledge the terms of the GPL page . The first page during install .