original_string: public function install_environment_page($maturity, $envstatus, $environment_results, $release) {
          global $CFG;
          $output = '';
  
          $output .= $this->header();
          $output .= $this->maturity_warning($maturity);
          $output .= $this->heading("Moodle $release");
          $output .= $this->release_notes_link();
  
          $output .= $this->environment_check_table($envstatus, $environment_results);
  
          if (!$envstatus) {
              $output .= $this->upgrade_reload(new moodle_url($this->page->url, array('agreelicense' => 1, 'lang' => $CFG->lang)));
          } else {
              $output .= $this->notification(get_string('environmentok', 'admin'), 'notifysuccess');
              $output .= $this->continue_button(new moodle_url($this->page->url, array(
                  'agreelicense' => 1, 'confirmrelease' => 1, 'lang' => $CFG->lang)));
          }
  
          $output .= $this->footer();
          return $output;
      }
code: public function install_environment_page($maturity, $envstatus, $environment_results, $release) {
          global $CFG;
          $output = '';
  
          $output .= $this->header();
          $output .= $this->maturity_warning($maturity);
          $output .= $this->heading("Moodle $release");
          $output .= $this->release_notes_link();
  
          $output .= $this->environment_check_table($envstatus, $environment_results);
  
          if (!$envstatus) {
              $output .= $this->upgrade_reload(new moodle_url($this->page->url, array('agreelicense' => 1, 'lang' => $CFG->lang)));
          } else {
              $output .= $this->notification(get_string('environmentok', 'admin'), 'notifysuccess');
              $output .= $this->continue_button(new moodle_url($this->page->url, array(
                  'agreelicense' => 1, 'confirmrelease' => 1, 'lang' => $CFG->lang)));
          }
  
          $output .= $this->footer();
          return $output;
      }
code_tokens: public function install_environment_page ( $ maturity , $ envstatus , $ environment_results , $ release ) { global $ CFG ; $ output = '' ; $ output .= $ this -> header ( ) ; $ output .= $ this -> maturity_warning ( $ maturity ) ; $ output .= $ this -> heading ( "Moodle $release" ) ; $ output .= $ this -> release_notes_link ( ) ; $ output .= $ this -> environment_check_table ( $ envstatus , $ environment_results ) ; if ( ! $ envstatus ) { $ output .= $ this -> upgrade_reload ( new moodle_url ( $ this -> page -> url , array ( 'agreelicense' => 1 , 'lang' => $ CFG -> lang ) ) ) ; } else { $ output .= $ this -> notification ( get_string ( 'environmentok' , 'admin' ) , 'notifysuccess' ) ; $ output .= $ this -> continue_button ( new moodle_url ( $ this -> page -> url , array ( 'agreelicense' => 1 , 'confirmrelease' => 1 , 'lang' => $ CFG -> lang ) ) ) ; } $ output .= $ this -> footer ( ) ; return $ output ; }
docstring: Display the 'environment check' page that is displayed during install.
  @param int $maturity
  @param boolean $envstatus final result of the check (true/false)
  @param array $environment_results array of results gathered
  @param string $release moodle release
  @return string HTML to output.
docstring_tokens: Display the environment check page that is displayed during install .