mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-72639-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE
This commit is contained in:
commit
be58e75573
2 changed files with 2 additions and 1 deletions
|
@ -220,7 +220,7 @@ class core_admin_renderer extends plugin_renderer_base {
|
||||||
$output .= $this->container_end();
|
$output .= $this->container_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
$button = new single_button($continueurl, get_string('upgradestart', 'admin'), 'get');
|
$button = new single_button($continueurl, get_string('upgradestart', 'admin'), 'get', true);
|
||||||
$button->class = 'continuebutton';
|
$button->class = 'continuebutton';
|
||||||
$output .= $this->render($button);
|
$output .= $this->render($button);
|
||||||
$output .= $this->footer();
|
$output .= $this->footer();
|
||||||
|
|
|
@ -855,6 +855,7 @@ class single_button implements renderable {
|
||||||
* @param moodle_url $url
|
* @param moodle_url $url
|
||||||
* @param string $label button text
|
* @param string $label button text
|
||||||
* @param string $method get or post submit method
|
* @param string $method get or post submit method
|
||||||
|
* @param bool $primary whether this is a primary button, used for styling
|
||||||
* @param array $attributes Attributes for the HTML button tag
|
* @param array $attributes Attributes for the HTML button tag
|
||||||
*/
|
*/
|
||||||
public function __construct(moodle_url $url, $label, $method='post', $primary=false, $attributes = []) {
|
public function __construct(moodle_url $url, $label, $method='post', $primary=false, $attributes = []) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue