original_string: public function user_reset_rss_token_confirmation() {
          global $OUTPUT, $CFG;
          $managetokenurl = $CFG->wwwroot."/user/managetoken.php?sesskey=" . sesskey();
          $optionsyes = array('action' => 'resetrsstoken', 'confirm' => 1, 'sesskey' => sesskey());
          $optionsno  = array('section' => 'webservicetokens', 'sesskey' => sesskey());
          $formcontinue = new single_button(new moodle_url($managetokenurl, $optionsyes), get_string('reset'));
          $formcancel = new single_button(new moodle_url($managetokenurl, $optionsno), get_string('cancel'), 'get');
          $html = $OUTPUT->confirm(get_string('resettokenconfirmsimple', 'webservice'), $formcontinue, $formcancel);
          return $html;
      }
code: public function user_reset_rss_token_confirmation() {
          global $OUTPUT, $CFG;
          $managetokenurl = $CFG->wwwroot."/user/managetoken.php?sesskey=" . sesskey();
          $optionsyes = array('action' => 'resetrsstoken', 'confirm' => 1, 'sesskey' => sesskey());
          $optionsno  = array('section' => 'webservicetokens', 'sesskey' => sesskey());
          $formcontinue = new single_button(new moodle_url($managetokenurl, $optionsyes), get_string('reset'));
          $formcancel = new single_button(new moodle_url($managetokenurl, $optionsno), get_string('cancel'), 'get');
          $html = $OUTPUT->confirm(get_string('resettokenconfirmsimple', 'webservice'), $formcontinue, $formcancel);
          return $html;
      }
code_tokens: public function user_reset_rss_token_confirmation ( ) { global $ OUTPUT , $ CFG ; $ managetokenurl = $ CFG -> wwwroot . "/user/managetoken.php?sesskey=" . sesskey ( ) ; $ optionsyes = array ( 'action' => 'resetrsstoken' , 'confirm' => 1 , 'sesskey' => sesskey ( ) ) ; $ optionsno = array ( 'section' => 'webservicetokens' , 'sesskey' => sesskey ( ) ) ; $ formcontinue = new single_button ( new moodle_url ( $ managetokenurl , $ optionsyes ) , get_string ( 'reset' ) ) ; $ formcancel = new single_button ( new moodle_url ( $ managetokenurl , $ optionsno ) , get_string ( 'cancel' ) , 'get' ) ; $ html = $ OUTPUT -> confirm ( get_string ( 'resettokenconfirmsimple' , 'webservice' ) , $ formcontinue , $ formcancel ) ; return $ html ; }
docstring: Returns the html for the token reset confirmation box
  @return string html
docstring_tokens: Returns the html for the token reset confirmation box