From c724e1abe4ea56023246d70e644a5a8b0e3c9449 Mon Sep 17 00:00:00 2001 From: Mikhail Golenkov Date: Wed, 5 Feb 2020 14:09:34 +1100 Subject: [PATCH] Replace custom html button with OUTPUT->single_button #172. --- views/manage.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/views/manage.php b/views/manage.php index 0ff9f0d..52c856c 100644 --- a/views/manage.php +++ b/views/manage.php @@ -30,6 +30,7 @@ use auth_outage\dml\outagedb; defined('MOODLE_INTERNAL') || die(); +global $OUTPUT; $urlnew = new moodle_url('/auth/outage/edit.php'); echo $viewbag['warning']; @@ -50,9 +51,7 @@ echo $viewbag['warning']; - + single_button($urlnew, get_string('outagecreate', 'auth_outage')); ?>