MDL-17816: Minor whitespace fixes before I work on the actual bug

This commit is contained in:
sam_marshall
2009-04-17 10:20:44 +00:00
parent b659135b44
commit 52dbbcf665
+6 -6
View File
@@ -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='<span class="accesshide">'.
$accesstext = '<span class="accesshide">'.
get_string('hiddenfromstudents').': </span>';
}
echo '<a '.$linkcss.' '.$extra.
' href="'.$CFG->wwwroot.'/mod/'.$mod->modname.'/view.php?id='.$mod->id.'">'.
'<img src="'.$icon.'" class="activityicon" alt="" /> '.