aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-22 15:45:08 +0300
committerValentin Popov <info@valentineus.link>2017-10-22 15:45:08 +0300
commit54b20f13354b74dd7266645069961a5d8e215ee9 (patch)
tree612eeaf974bcc3e3400c6477d9c3b295cb823a69
parentaaacb23d419faa4513eb3c9380e47bc7befa9e6c (diff)
downloadlocal_webhooks-54b20f13354b74dd7266645069961a5d8e215ee9.tar.xz
local_webhooks-54b20f13354b74dd7266645069961a5d8e215ee9.zip
Adding a title
-rw-r--r--lang/en/local_webhooks.php1
-rw-r--r--lang/ru/local_webhooks.php1
-rw-r--r--settings.php7
3 files changed, 9 insertions, 0 deletions
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 = "<a href=\"" . $CFG->wwwroot . "/local/webhooks/managerservice.php\">" . $linktext . "</a>";