-
Task
-
Resolution: Fixed
-
Minor
-
None
-
2.2.3
-
None
-
MOODLE_22_STABLE
Daniel,
thanks for your work migrating the roles capabilities report to Moodle 2.2.x.
I've got one more thing: As we have our role names translated, could you please use format_string() function for printing the role names in the table heading and in the select box?
This means using
<option value=\"{$rid}\" {$selected}>".format_string($r->name)."</option>
instead of
<option value=\"{$rid}\" {$selected}>{$r->name}</option>
and
$th .= "<th class=\"role\">".format_string($r->name)."</th>";
instead of
$th .= "<th class=\"role\">{$r->name}</th>";
That would be great, thanks in advance.
Alex