Skip to content

Commit

Permalink
Undoing accidental change
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Nov 8, 2005
1 parent 8993348 commit 9a75e63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mod/resource/index.php
Original file line number Diff line number Diff line change
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_HTML, $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_HTML, $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 9a75e63

Please sign in to comment.