mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-29538 core_condition: changed the logic in the code so that it works with the new database structure as well as tidying up parts of the code
This commit is contained in:
parent
92fb7dd3a5
commit
cb4492c200
5 changed files with 203 additions and 163 deletions
|
@ -75,7 +75,7 @@ $string['requires_grade_any'] = 'Not available until you have a grade in <strong
|
|||
$string['requires_grade_max'] = 'Not available unless you get an appropriate score in <strong>{$a}</strong>.';
|
||||
$string['requires_grade_min'] = 'Not available until you achieve a required score in <strong>{$a}</strong>.';
|
||||
$string['requires_grade_range'] = 'Not available unless you get a particular score in <strong>{$a}</strong>.';
|
||||
$string['requires_user_field_restriction'] = 'Only available to users who\'s user field \'{$a->field}\' {$a->operator} \'{$a->value}\'.';
|
||||
$string['requires_user_field_restriction'] = 'Not available unless your <strong>{$a->field}</strong> {$a->operator} <strong>{$a->value}</strong>.';
|
||||
$string['showavailability'] = 'Before activity can be accessed';
|
||||
$string['showavailabilitysection'] = 'Before section can be accessed';
|
||||
$string['showavailability_hide'] = 'Hide activity entirely';
|
||||
|
@ -83,7 +83,7 @@ $string['showavailability_show'] = 'Show activity greyed-out, with restriction i
|
|||
$string['showavailabilitysection_hide'] = 'Hide section entirely';
|
||||
$string['showavailabilitysection_show'] = 'Show section greyed-out, with restriction information';
|
||||
$string['userfield'] = 'User field';
|
||||
$string['userfield_help'] = 'This is an attribute associated with each individual user';
|
||||
$string['userfield_help'] = 'You can restrict access based on any field from the user’s profile.';
|
||||
$string['userrestriction_hidden'] = 'Restricted (completely hidden, no message): ‘{$a}’';
|
||||
$string['userrestriction_visible'] = 'Restricted: ‘{$a}’';
|
||||
$string['groupingnoaccess'] = 'You do not currently belong to a group which has access to this section. ';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue