original_string: public function admin_remove_service_confirmation($service) {
          global $CFG;
          $optionsyes = array('id' => $service->id, 'action' => 'delete',
              'confirm' => 1, 'sesskey' => sesskey());
          $optionsno = array('section' => 'externalservices');
          $formcontinue = new single_button(new moodle_url('service.php', $optionsyes),
                          get_string('delete'), 'post');
          $formcancel = new single_button(
                          new moodle_url($CFG->wwwroot . "/" . $CFG->admin . "/settings.php", $optionsno),
                          get_string('cancel'), 'get');
          return $this->output->confirm(get_string('deleteserviceconfirm', 'webservice', $service->name),
                  $formcontinue, $formcancel);
      }
code: public function admin_remove_service_confirmation($service) {
          global $CFG;
          $optionsyes = array('id' => $service->id, 'action' => 'delete',
              'confirm' => 1, 'sesskey' => sesskey());
          $optionsno = array('section' => 'externalservices');
          $formcontinue = new single_button(new moodle_url('service.php', $optionsyes),
                          get_string('delete'), 'post');
          $formcancel = new single_button(
                          new moodle_url($CFG->wwwroot . "/" . $CFG->admin . "/settings.php", $optionsno),
                          get_string('cancel'), 'get');
          return $this->output->confirm(get_string('deleteserviceconfirm', 'webservice', $service->name),
                  $formcontinue, $formcancel);
      }
code_tokens: public function admin_remove_service_confirmation ( $ service ) { global $ CFG ; $ optionsyes = array ( 'id' => $ service -> id , 'action' => 'delete' , 'confirm' => 1 , 'sesskey' => sesskey ( ) ) ; $ optionsno = array ( 'section' => 'externalservices' ) ; $ formcontinue = new single_button ( new moodle_url ( 'service.php' , $ optionsyes ) , get_string ( 'delete' ) , 'post' ) ; $ formcancel = new single_button ( new moodle_url ( $ CFG -> wwwroot . "/" . $ CFG -> admin . "/settings.php" , $ optionsno ) , get_string ( 'cancel' ) , 'get' ) ; return $ this -> output -> confirm ( get_string ( 'deleteserviceconfirm' , 'webservice' , $ service -> name ) , $ formcontinue , $ formcancel ) ; }
docstring: Display a confirmation page to remove a service
  
  @param stdClass $service It needs service id + service name properties.
  @return string html
docstring_tokens: Display a confirmation page to remove a service