summaryrefslogtreecommitdiff
path: root/managerservice.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-26 17:18:31 +0300
committerValentin Popov <info@valentineus.link>2017-10-26 17:18:31 +0300
commitc25f4bada67cd237e5a1e27e6c25f552330bc6ea (patch)
tree6fd5ca597b90ea6fecb98d0df4e4574c29bda329 /managerservice.php
parent4f34a6db0f139370544730f539ff981124441f4b (diff)
downloadlocal_webhooks-c25f4bada67cd237e5a1e27e6c25f552330bc6ea.tar.xz
local_webhooks-c25f4bada67cd237e5a1e27e6c25f552330bc6ea.zip
Updating layers of external pages
Diffstat (limited to 'managerservice.php')
-rw-r--r--managerservice.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/managerservice.php b/managerservice.php
index 514b4af..7865f28 100644
--- a/managerservice.php
+++ b/managerservice.php
@@ -24,6 +24,9 @@
require_once(__DIR__ . "/../../config.php");
require_once($CFG->libdir . "/tablelib.php");
+require_once($CFG->libdir . "/adminlib.php");
+
+admin_externalpage_setup("managelocalplugins");
$hideshowid = optional_param("hideshowid", 0, PARAM_INT);
$deleteid = optional_param("deleteid", 0, PARAM_INT);
@@ -67,8 +70,7 @@ $PAGE->set_title($titlepage);
$PAGE->set_heading($titlepage);
/* The page title */
-$PAGE->navbar->add(new lang_string("localplugins", "moodle"));
-$PAGE->navbar->add(new lang_string("pluginname", "local_webhooks"));
+$PAGE->navbar->add(new lang_string("pluginname", "local_webhooks"), new moodle_url("/admin/settings.php", array("section" => "local_webhooks")));
$PAGE->navbar->add($titlepage, $baseurl);
echo $OUTPUT->header();