original_string: protected function mobile_configuration_warning($mobileconfigured) {
          $output = '';
          if (!$mobileconfigured) {
              $settingslink = new moodle_url('/admin/settings.php', ['section' => 'mobilesettings']);
              $configurebutton = $this->single_button($settingslink, get_string('enablemobilewebservice', 'admin'));
              $output .= $this->warning(get_string('mobilenotconfiguredwarning', 'admin') . '&nbsp;' . $configurebutton);
          }
  
          return $output;
      }
code: protected function mobile_configuration_warning($mobileconfigured) {
          $output = '';
          if (!$mobileconfigured) {
              $settingslink = new moodle_url('/admin/settings.php', ['section' => 'mobilesettings']);
              $configurebutton = $this->single_button($settingslink, get_string('enablemobilewebservice', 'admin'));
              $output .= $this->warning(get_string('mobilenotconfiguredwarning', 'admin') . '&nbsp;' . $configurebutton);
          }
  
          return $output;
      }
code_tokens: protected function mobile_configuration_warning ( $ mobileconfigured ) { $ output = '' ; if ( ! $ mobileconfigured ) { $ settingslink = new moodle_url ( '/admin/settings.php' , [ 'section' => 'mobilesettings' ] ) ; $ configurebutton = $ this -> single_button ( $ settingslink , get_string ( 'enablemobilewebservice' , 'admin' ) ) ; $ output .= $ this -> warning ( get_string ( 'mobilenotconfiguredwarning' , 'admin' ) . '&nbsp;' . $ configurebutton ) ; } return $ output ; }
docstring: Display a warning about the Mobile Web Services being disabled.
  
  @param boolean $mobileconfigured true if mobile web services are enabled
  @return string HTML to output.
docstring_tokens: Display a warning about the Mobile Web Services being disabled .