From c25f4bada67cd237e5a1e27e6c25f552330bc6ea Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Oct 2017 18:18:31 +0400 Subject: Updating layers of external pages --- editservice.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'editservice.php') diff --git a/editservice.php b/editservice.php index 958a174..c4f68ff 100644 --- a/editservice.php +++ b/editservice.php @@ -23,8 +23,11 @@ */ require_once(__DIR__ . "/../../config.php"); +require_once($CFG->libdir . "/adminlib.php"); require_once(__DIR__ . "/classes/forms.php"); +admin_externalpage_setup("managelocalplugins"); + $serviceid = optional_param("serviceid", 0, PARAM_INT); require_login(); @@ -79,8 +82,7 @@ $PAGE->set_heading($titlepage); $PAGE->set_title($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(new lang_string("managerservice", "local_webhooks"), $managerservice); $PAGE->navbar->add($titlepage); echo $OUTPUT->header(); -- cgit v1.2.3