Skip to content

Commit

Permalink
Tidying ...
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Nov 8, 2005
1 parent db0a817 commit cd7d299
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mod/resource/index.php
Expand Up @@ -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) );
}
}

Expand Down

0 comments on commit cd7d299

Please sign in to comment.