forked from bostelm/moodle-mod_scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.php
27 lines (19 loc) · 1.04 KB
/
settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/**
* Global configuration settings for the scheduler module.
*
* @package mod
* @subpackage scheduler
* @copyright 2011 Henning Bostelmann and others (see README.txt)
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
require_once($CFG->dirroot.'/mod/scheduler/lib.php');
$settings->add(new admin_setting_configcheckbox('scheduler_allteachersgrading', get_string('allteachersgrading', 'scheduler'),
get_string('allteachersgrading_desc', 'scheduler'), 0));
$settings->add(new admin_setting_configcheckbox('scheduler_showemailplain', get_string('showemailplain', 'scheduler'),
get_string('showemailplain_desc', 'scheduler'), 0));
$settings->add(new admin_setting_configcheckbox('scheduler_groupscheduling', get_string('groupscheduling', 'scheduler'),
get_string('groupscheduling_desc', 'scheduler'), 1));
$settings->add(new admin_setting_configtext('scheduler_maxstudentsperslot', get_string('maxstudentsperslot', 'scheduler'),
get_string('maxstudentsperslot_desc', 'scheduler'), 9, PARAM_INT));
?>