From 5c3e1eedb758ed418059592ab22db0ba12bc17e9 Mon Sep 17 00:00:00 2001 From: B Krishnan Iyer Date: Sat, 4 Feb 2017 21:18:19 +0530 Subject: [PATCH] MDL-57354 output: Render continue button as a primary button. --- backup/util/ui/renderer.php | 2 +- lib/outputrenderers.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backup/util/ui/renderer.php b/backup/util/ui/renderer.php index 3015d2227ed..0cb151ba50f 100644 --- a/backup/util/ui/renderer.php +++ b/backup/util/ui/renderer.php @@ -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); } diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 8357799d31a..2fd66bc1512 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -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);