aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-12-01 14:16:03 +0300
committerValentin Popov <info@valentineus.link>2017-12-01 14:16:03 +0300
commita80643aeff1e896fcb3171f1fa8db94152431af0 (patch)
tree01eef52f144728defa56197b93e4a2afddb27823
parenta1662578d91b89e1b8fd4bdaed1c98d32b22aafb (diff)
downloadtool_managertokens-a80643aeff1e896fcb3171f1fa8db94152431af0.tar.xz
tool_managertokens-a80643aeff1e896fcb3171f1fa8db94152431af0.zip
The buttons are fixed
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 031cbf6..3abb55d 100644
--- a/index.php
+++ b/index.php
@@ -80,7 +80,7 @@ echo $OUTPUT->header();
/* Adds the add button */
$addtokenurl = new moodle_url($editor);
-echo $OUTPUT->single_button($addtokenurl, new lang_string("add", "moodle"), "get");
+echo $OUTPUT->single_button($addtokenurl, new lang_string("add", "moodle"));
/* Adds a delete button */
$deleteallurl = new moodle_url($managertokens, array("deleteall" => true, "sesskey" => sesskey()));
@@ -92,7 +92,7 @@ echo $OUTPUT->single_button($backupurl, new lang_string("backup", "moodle"), "ge
/* Adds a restore button */
$restorebackupurl = new moodle_url($restorebackup);
-echo $OUTPUT->single_button($restorebackupurl, new lang_string("restore", "moodle"), "get");
+echo $OUTPUT->single_button($restorebackupurl, new lang_string("restore", "moodle"));
/* Displays the table */
$table = new tool_managertokens_table("tool-managertokens-table");