From 35358ea7cc11a80f285cca6dca3e3ec668e0fb97 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 15 Nov 2017 10:49:36 +0400 Subject: Updating pages for a new section --- editservice.php | 3 +-- managerservice.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/editservice.php b/editservice.php index 3c57507..a997928 100644 --- a/editservice.php +++ b/editservice.php @@ -26,7 +26,7 @@ require_once(__DIR__ . "/../../config.php"); require_once(__DIR__ . "/classes/editform.php"); require_once($CFG->libdir . "/adminlib.php"); -admin_externalpage_setup("managelocalplugins"); +admin_externalpage_setup("pluginsoverview"); $serviceid = optional_param("serviceid", 0, PARAM_INT); @@ -82,7 +82,6 @@ $PAGE->set_heading($titlepage); $PAGE->set_title($titlepage); /* The page title */ -$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("externalservices", "webservice"), $managerservice); $PAGE->navbar->add($titlepage); echo $OUTPUT->header(); diff --git a/managerservice.php b/managerservice.php index ccdb7bc..1377e91 100644 --- a/managerservice.php +++ b/managerservice.php @@ -26,7 +26,7 @@ require_once(__DIR__ . "/../../config.php"); require_once($CFG->libdir . "/tablelib.php"); require_once($CFG->libdir . "/adminlib.php"); -admin_externalpage_setup("managelocalplugins"); +admin_externalpage_setup("pluginsoverview"); $hideshowid = optional_param("hideshowid", 0, PARAM_INT); $deleteid = optional_param("deleteid", 0, PARAM_INT); @@ -70,7 +70,6 @@ $PAGE->set_title($titlepage); $PAGE->set_heading($titlepage); /* The page title */ -$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(); -- cgit v1.2.3