mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 05:28:30 +01:00
Merge branch 'MDL-81488' of https://github.com/dravek/moodle into main
This commit is contained in:
commit
ea81c5457d
@ -144,6 +144,7 @@ $string['filterendswith'] = 'Ends with';
|
||||
$string['filterequalorgreaterthan'] = 'Greater than or equal';
|
||||
$string['filterequalorlessthan'] = 'Less than or equal';
|
||||
$string['filterfieldoperator'] = '{$a} operator';
|
||||
$string['filterfieldto'] = '{$a} to';
|
||||
$string['filterfieldunit'] = '{$a} unit';
|
||||
$string['filterfieldvalue'] = '{$a} value';
|
||||
$string['filtergreaterthan'] = 'Greater than';
|
||||
|
@ -96,7 +96,8 @@ class number extends base {
|
||||
$mform->hideIf($this->name . '_value1', $this->name . '_operator', 'in',
|
||||
[self::ANY_VALUE, self::IS_NOT_EMPTY, self::IS_EMPTY]);
|
||||
|
||||
$objs['text2'] = $mform->createElement('text', $this->name . '_value2', get_string('torecipient'), ['size' => 3]);
|
||||
$objs['text2'] = $mform->createElement('text', $this->name . '_value2',
|
||||
get_string('filterfieldto', 'reportbuilder', $this->get_header()), ['size' => 3]);
|
||||
$mform->setType($this->name . '_value2', PARAM_INT);
|
||||
$mform->setDefault($this->name . '_value2', 0);
|
||||
$mform->hideIf($this->name . '_value2', $this->name . '_operator', 'noteq', self::RANGE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user