From 52dbbcf66562b774d93842bc86d22ef67ea66f5c Mon Sep 17 00:00:00 2001 From: sam_marshall Date: Fri, 17 Apr 2009 10:20:44 +0000 Subject: [PATCH] MDL-17816: Minor whitespace fixes before I work on the actual bug --- course/lib.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/course/lib.php b/course/lib.php index 03dee3f0be..6c8397d166 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1527,17 +1527,17 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, // We may be displaying this just in order to show information // about visibility, without the actual link - if($mod->uservisible) { + if ($mod->uservisible) { // Display normal module link - if($mod->visible) { - $linkcss=''; - $accesstext=''; + if ($mod->visible) { + $linkcss = ''; + $accesstext =''; } else { $linkcss = ' class="dimmed" '; - $accesstext=''. + $accesstext = ''. get_string('hiddenfromstudents').': '; } - + echo ''. ' '. -- 2.39.5