MDL-11561 admin tree improvements and bugfixing; backported from HEAD
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php //$Id$
|
||||
|
||||
require_once($CFG->dirroot.'/mod/assignment/lib.php');
|
||||
|
||||
$settings->add(new admin_setting_configselect('assignment_maxbytes', get_string('maximumsize', 'assignment'),
|
||||
get_string('configmaxbytes', 'assignment'), 1048576, get_max_upload_sizes($CFG->maxbytes)));
|
||||
|
||||
$options = array(ASSIGNMENT_COUNT_WORDS => trim(get_string('numwords', '')),
|
||||
ASSIGNMENT_COUNT_LETTERS => trim(get_string('numletters', '')));
|
||||
$settings->add(new admin_setting_configselect('assignment_itemstocount', get_string('itemstocount', 'assignment'),
|
||||
get_string('configitemstocount', 'assignment'), ASSIGNMENT_COUNT_WORDS, $options));
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user