MDL-66332 too_capability: add show differences option

This commit is contained in:
ferran.recio
2019-12-18 14:23:41 +01:00
committed by Ferran Recio
parent 6aacd8d6d1
commit e96bbb53af
4 changed files with 29 additions and 6 deletions
@@ -60,6 +60,11 @@ class tool_capability_settings_form extends moodleform {
$form->addElement('select', 'roles', get_string('roleslabel', 'tool_capability'), $roles, $attributes);
$form->setType('roles', PARAM_TEXT);
$form->addElement('checkbox', 'onlydiff',
get_string('filters', 'tool_capability'),
get_string('onlydiff', 'tool_capability'));
$form->setType('onlydiff', PARAM_BOOL);
$form->addElement('submit', 'submitbutton', get_string('getreport', 'tool_capability'));
}