From: sam_marshall Date: Fri, 17 Apr 2009 10:20:44 +0000 (+0000) Subject: MDL-17816: Minor whitespace fixes before I work on the actual bug X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=52dbbcf66562b774d93842bc86d22ef67ea66f5c;p=moodle.git MDL-17816: Minor whitespace fixes before I work on the actual bug --- 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 ''. ' '.