original_string: protected function forgotten_password_url_warning($invalidforgottenpasswordurl) {
          $output = '';
          if ($invalidforgottenpasswordurl) {
              $settingslink = new moodle_url('/admin/settings.php', ['section' => 'manageauths']);
              $configurebutton = $this->single_button($settingslink, get_string('check', 'moodle'));
              $output .= $this->warning(get_string('invalidforgottenpasswordurl', 'admin') . '&nbsp;' . $configurebutton,
                  'error alert alert-danger');
          }
  
          return $output;
      }
code: protected function forgotten_password_url_warning($invalidforgottenpasswordurl) {
          $output = '';
          if ($invalidforgottenpasswordurl) {
              $settingslink = new moodle_url('/admin/settings.php', ['section' => 'manageauths']);
              $configurebutton = $this->single_button($settingslink, get_string('check', 'moodle'));
              $output .= $this->warning(get_string('invalidforgottenpasswordurl', 'admin') . '&nbsp;' . $configurebutton,
                  'error alert alert-danger');
          }
  
          return $output;
      }
code_tokens: protected function forgotten_password_url_warning ( $ invalidforgottenpasswordurl ) { $ output = '' ; if ( $ invalidforgottenpasswordurl ) { $ settingslink = new moodle_url ( '/admin/settings.php' , [ 'section' => 'manageauths' ] ) ; $ configurebutton = $ this -> single_button ( $ settingslink , get_string ( 'check' , 'moodle' ) ) ; $ output .= $ this -> warning ( get_string ( 'invalidforgottenpasswordurl' , 'admin' ) . '&nbsp;' . $ configurebutton , 'error alert alert-danger' ) ; } return $ output ; }
docstring: Display a warning about the forgotten password URL not linking to a valid URL.
  
  @param boolean $invalidforgottenpasswordurl true if the forgotten password URL is not valid
  @return string HTML to output.
docstring_tokens: Display a warning about the forgotten password URL not linking to a valid URL .