From b92158933c508dabce88dd379ffe70c1545e0473 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Sat, 3 Jun 2023 08:14:34 +0200 Subject: [PATCH] Added documentation --- lib.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib.php b/lib.php index 7f8d3a6..9ed03d4 100644 --- a/lib.php +++ b/lib.php @@ -17,10 +17,12 @@ function local_treestudyplan_extend_navigation(global_navigation $navigation) { // Moodle 4.0-4.2 do not yet support customizing the primary navigation bar (it is a planned feature though) // For now, go to theme settings and add the following into "Custom menu items" // [your name for my studyplan]|/local/treestudyplan/myreport.php - // [your name for studyplan viewing]|/local/treestudyplan/view.php + // [your name for studyplan viewing]|/local/treestudyplan/view-plan.php + // [your name for studyplan managing]|/local/treestudyplan/edit-plan.php // For example: // Mijn studieplan|/local/treestudyplan/myreport.php - // Studieplannen|/local/treestudyplan/view.php + // Studieplannen|/local/treestudyplan/view-plan.php + // Studieplannen beheren|/local/treestudyplan/edit-plan.php // Using some javascript magic we'll hide the links that are not accessible // we will add all the hrefs that should be hidden to this variable below