mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Tidying ...
This commit is contained in:
parent
db0a8174c6
commit
cd7d299942
@ -71,14 +71,14 @@
|
||||
$extra = "";
|
||||
}
|
||||
if (!$resource->visible) { // Show dimmed if the mod is hidden
|
||||
$table->data[] = array ($printsection,
|
||||
"<a class=\"dimmed\" $extra href=\"view.php?id=$resource->coursemodule\">".format_string($resource->name,true)."</a>",
|
||||
format_text($resource->summary, FORMAT_MOODLE, $options) );
|
||||
$table->data[] = array ($printsection,
|
||||
"<a class=\"dimmed\" $extra href=\"view.php?id=$resource->coursemodule\">".format_string($resource->name,true)."</a>",
|
||||
format_text($resource->summary, FORMAT_MOODLE, $options) );
|
||||
|
||||
} else { //Show normal if the mod is visible
|
||||
$table->data[] = array ($printsection,
|
||||
"<a $extra href=\"view.php?id=$resource->coursemodule\">".format_string($resource->name,true)."</a>",
|
||||
format_text($resource->summary, FORMAT_MOODLE, $options) );
|
||||
$table->data[] = array ($printsection,
|
||||
"<a $extra href=\"view.php?id=$resource->coursemodule\">".format_string($resource->name,true)."</a>",
|
||||
format_text($resource->summary, FORMAT_MOODLE, $options) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user