mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-57354 output: Render continue button as a primary button.
This commit is contained in:
parent
7322592606
commit
5c3e1eedb7
@ -519,7 +519,7 @@ class core_backup_renderer extends plugin_renderer_base {
|
||||
$method = 'get';
|
||||
}
|
||||
$url->param('sesskey', sesskey());
|
||||
$button = new single_button($url, get_string('continue'), $method);
|
||||
$button = new single_button($url, get_string('continue'), $method, true);
|
||||
$button->class = 'continuebutton';
|
||||
return $this->render($button);
|
||||
}
|
||||
|
@ -2777,7 +2777,7 @@ EOD;
|
||||
if (!($url instanceof moodle_url)) {
|
||||
$url = new moodle_url($url);
|
||||
}
|
||||
$button = new single_button($url, get_string('continue'), 'get');
|
||||
$button = new single_button($url, get_string('continue'), 'get', true);
|
||||
$button->class = 'continuebutton';
|
||||
|
||||
return $this->render($button);
|
||||
|
Loading…
x
Reference in New Issue
Block a user