original_string: public function upgrade_confirm_page($strnewversion, $maturity, $testsite) {
          $output = '';
  
          $continueurl = new moodle_url($this->page->url, array('confirmupgrade' => 1, 'cache' => 0));
          $continue = new single_button($continueurl, get_string('continue'), 'get');
          $cancelurl = new moodle_url('/admin/index.php');
  
          $output .= $this->header();
          $output .= $this->maturity_warning($maturity);
          $output .= $this->test_site_warning($testsite);
          $output .= $this->confirm(get_string('upgradesure', 'admin', $strnewversion), $continue, $cancelurl);
          $output .= $this->footer();
  
          return $output;
      }
code: public function upgrade_confirm_page($strnewversion, $maturity, $testsite) {
          $output = '';
  
          $continueurl = new moodle_url($this->page->url, array('confirmupgrade' => 1, 'cache' => 0));
          $continue = new single_button($continueurl, get_string('continue'), 'get');
          $cancelurl = new moodle_url('/admin/index.php');
  
          $output .= $this->header();
          $output .= $this->maturity_warning($maturity);
          $output .= $this->test_site_warning($testsite);
          $output .= $this->confirm(get_string('upgradesure', 'admin', $strnewversion), $continue, $cancelurl);
          $output .= $this->footer();
  
          return $output;
      }
code_tokens: public function upgrade_confirm_page ( $ strnewversion , $ maturity , $ testsite ) { $ output = '' ; $ continueurl = new moodle_url ( $ this -> page -> url , array ( 'confirmupgrade' => 1 , 'cache' => 0 ) ) ; $ continue = new single_button ( $ continueurl , get_string ( 'continue' ) , 'get' ) ; $ cancelurl = new moodle_url ( '/admin/index.php' ) ; $ output .= $ this -> header ( ) ; $ output .= $ this -> maturity_warning ( $ maturity ) ; $ output .= $ this -> test_site_warning ( $ testsite ) ; $ output .= $ this -> confirm ( get_string ( 'upgradesure' , 'admin' , $ strnewversion ) , $ continue , $ cancelurl ) ; $ output .= $ this -> footer ( ) ; return $ output ; }
docstring: Display the 'You are about to upgrade Moodle' page. The first page
  during upgrade.
  @param string $strnewversion
  @param int $maturity
  @param string $testsite
  @return string HTML to output.
docstring_tokens: Display the You are about to upgrade Moodle page . The first page during upgrade .