| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Summary view] [Print] [Text view]
1 <?php //$Id: settings.php,v 1.1.2.3 2008/01/24 20:29:36 skodak Exp $ 2 3 require_once($CFG->dirroot.'/mod/assignment/lib.php'); 4 5 $settings->add(new admin_setting_configselect('assignment_maxbytes', get_string('maximumsize', 'assignment'), 6 get_string('configmaxbytes', 'assignment'), 1048576, get_max_upload_sizes($CFG->maxbytes))); 7 8 $options = array(ASSIGNMENT_COUNT_WORDS => trim(get_string('numwords', '')), 9 ASSIGNMENT_COUNT_LETTERS => trim(get_string('numletters', ''))); 10 $settings->add(new admin_setting_configselect('assignment_itemstocount', get_string('itemstocount', 'assignment'), 11 get_string('configitemstocount', 'assignment'), ASSIGNMENT_COUNT_WORDS, $options)); 12 13 $settings->add(new admin_setting_configcheckbox('assignment_showrecentsubmissions', get_string('showrecentsubmissions', 'assignment'), 14 get_string('configshowrecentsubmissions', 'assignment'), 1)); 15 16 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |