MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements
This commit is contained in:
@@ -8296,7 +8296,7 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
|
||||
$hidden["launch"] = "form";
|
||||
$hidden["file"] = $file;
|
||||
$hidden["id"] = $id;
|
||||
echo $OUTPUT->button(html_form::make_button("restore.php", $hidden, get_string("continue")));
|
||||
echo $OUTPUT->single_button(new moodle_url("restore.php", $hidden), get_string("continue"));
|
||||
echo "</div>";
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user