diff options
author | Valentin Popov <info@valentineus.link> | 2017-12-01 14:16:03 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-12-01 14:16:03 +0300 |
commit | a80643aeff1e896fcb3171f1fa8db94152431af0 (patch) | |
tree | 01eef52f144728defa56197b93e4a2afddb27823 | |
parent | a1662578d91b89e1b8fd4bdaed1c98d32b22aafb (diff) | |
download | tool_managertokens-a80643aeff1e896fcb3171f1fa8db94152431af0.tar.xz tool_managertokens-a80643aeff1e896fcb3171f1fa8db94152431af0.zip |
The buttons are fixed
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |