From 4c6f98a668dcfe41bc13ee79e53b688ed0eed8a7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 20 Nov 2017 06:15:04 +0400 Subject: Initial commit --- settings.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 settings.php (limited to 'settings.php') diff --git a/settings.php b/settings.php new file mode 100644 index 0000000..9ee3fa3 --- /dev/null +++ b/settings.php @@ -0,0 +1,30 @@ +. + +/** + * Adds settings links to admin tree. + * + * @package tool_managertokens + * @copyright 2017 "Valentin Popov" + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined("MOODLE_INTERNAL") || die(); + +if ($hassiteconfig) { + $managertokens = new moodle_url("/admin/tool/managertokens/managertokens.php"); + $ADMIN->add("accounts", new admin_externalpage("tool_managertokens", new lang_string("pluginname", "tool_managertokens"), $managertokens)); +} \ No newline at end of file -- cgit v1.2.3