mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-57354 output: Render continue button as a primary button.
This commit is contained in:
parent
7322592606
commit
5c3e1eedb7
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue