From 54b20f13354b74dd7266645069961a5d8e215ee9 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 22 Oct 2017 16:45:08 +0400 Subject: Adding a title --- lang/en/local_webhooks.php | 1 + lang/ru/local_webhooks.php | 1 + settings.php | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/lang/en/local_webhooks.php b/lang/en/local_webhooks.php index d2f33bd..9a3993a 100644 --- a/lang/en/local_webhooks.php +++ b/lang/en/local_webhooks.php @@ -28,5 +28,6 @@ $string["linkmanagerservice"] = "Service management manager"; $string["local_webhooksdescription"] = ""; $string["managementmanager"] = "Service Management Manager"; $string["managementmanageradd"] = "Add a service"; +$string["managementmanagerdescription"] = ""; $string["pluginname"] = "Moodle WebHooks"; $string["servicedeleted"] = "Service has been removed"; \ No newline at end of file diff --git a/lang/ru/local_webhooks.php b/lang/ru/local_webhooks.php index 2c8f0b7..30a5843 100644 --- a/lang/ru/local_webhooks.php +++ b/lang/ru/local_webhooks.php @@ -28,5 +28,6 @@ $string["linkmanagerservice"] = "Менеджер управления служ $string["local_webhooksdescription"] = ""; $string["managementmanager"] = "Менеджер управления службами"; $string["managementmanageradd"] = "Добавить службу"; +$string["managementmanagerdescription"] = ""; $string["pluginname"] = "Moodle WebHooks"; $string["servicedeleted"] = "Служба была удалена"; \ No newline at end of file diff --git a/settings.php b/settings.php index ceb603a..d893b98 100644 --- a/settings.php +++ b/settings.php @@ -40,6 +40,13 @@ if ($hassiteconfig) { false )); + /* Title Manager */ + $settings->add(new admin_setting_heading( + "defaultsettings", + new lang_string("linkmanagerservice", "local_webhooks"), + new lang_string("managementmanagerdescription", "local_webhooks") + )); + /* Link to the service manager */ $linktext = new lang_string("linkmanagerservice", "local_webhooks"); $link = "wwwroot . "/local/webhooks/managerservice.php\">" . $linktext . ""; -- cgit v1.2.3