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;
    }
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;
    }
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 ; }
Returns the html for the token reset confirmation box
@return string html
Returns the html for the token reset confirmation box