Updating layers of external pages
This commit is contained in:
parent
4f34a6db0f
commit
c25f4bada6
@ -23,8 +23,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require_once(__DIR__ . "/../../config.php");
|
require_once(__DIR__ . "/../../config.php");
|
||||||
|
require_once($CFG->libdir . "/adminlib.php");
|
||||||
require_once(__DIR__ . "/classes/forms.php");
|
require_once(__DIR__ . "/classes/forms.php");
|
||||||
|
|
||||||
|
admin_externalpage_setup("managelocalplugins");
|
||||||
|
|
||||||
$serviceid = optional_param("serviceid", 0, PARAM_INT);
|
$serviceid = optional_param("serviceid", 0, PARAM_INT);
|
||||||
|
|
||||||
require_login();
|
require_login();
|
||||||
@ -79,8 +82,7 @@ $PAGE->set_heading($titlepage);
|
|||||||
$PAGE->set_title($titlepage);
|
$PAGE->set_title($titlepage);
|
||||||
|
|
||||||
/* The page title */
|
/* The page title */
|
||||||
$PAGE->navbar->add(new lang_string("localplugins", "moodle"));
|
$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("pluginname", "local_webhooks"));
|
|
||||||
$PAGE->navbar->add(new lang_string("managerservice", "local_webhooks"), $managerservice);
|
$PAGE->navbar->add(new lang_string("managerservice", "local_webhooks"), $managerservice);
|
||||||
$PAGE->navbar->add($titlepage);
|
$PAGE->navbar->add($titlepage);
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
|
@ -24,6 +24,9 @@
|
|||||||
|
|
||||||
require_once(__DIR__ . "/../../config.php");
|
require_once(__DIR__ . "/../../config.php");
|
||||||
require_once($CFG->libdir . "/tablelib.php");
|
require_once($CFG->libdir . "/tablelib.php");
|
||||||
|
require_once($CFG->libdir . "/adminlib.php");
|
||||||
|
|
||||||
|
admin_externalpage_setup("managelocalplugins");
|
||||||
|
|
||||||
$hideshowid = optional_param("hideshowid", 0, PARAM_INT);
|
$hideshowid = optional_param("hideshowid", 0, PARAM_INT);
|
||||||
$deleteid = optional_param("deleteid", 0, PARAM_INT);
|
$deleteid = optional_param("deleteid", 0, PARAM_INT);
|
||||||
@ -67,8 +70,7 @@ $PAGE->set_title($titlepage);
|
|||||||
$PAGE->set_heading($titlepage);
|
$PAGE->set_heading($titlepage);
|
||||||
|
|
||||||
/* The page title */
|
/* The page title */
|
||||||
$PAGE->navbar->add(new lang_string("localplugins", "moodle"));
|
$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("pluginname", "local_webhooks"));
|
|
||||||
$PAGE->navbar->add($titlepage, $baseurl);
|
$PAGE->navbar->add($titlepage, $baseurl);
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user