From 8d41b426978a39808daf90bfc2307951fdea74b9 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Sat, 3 Jun 2023 14:56:42 +0200 Subject: [PATCH] Added more documentation --- lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.php b/lib.php index 9ed03d4..e78c038 100644 --- a/lib.php +++ b/lib.php @@ -25,6 +25,8 @@ function local_treestudyplan_extend_navigation(global_navigation $navigation) { // Studieplannen beheren|/local/treestudyplan/edit-plan.php // Using some javascript magic we'll hide the links that are not accessible + // (Since the Output API does not easily support inline style tags, adding one through Javascript is easier, + // and not much more complex than loading a separate stylesheet for each link we want to hide) // we will add all the hrefs that should be hidden to this variable below $hide_primary_hrefs = [];