moodle/mod/feedback/settings.php

10 lines
363 B
PHP

<?php
defined('MOODLE_INTERNAL') || die;
if ($ADMIN->fulltree) {
$options = array(0=>get_string('no'), 1=>get_string('yes'));
$str = get_string('configallowfullanonymous', 'feedback');
$settings->add(new admin_setting_configselect('feedback_allowfullanonymous', get_string('allowfullanonymous', 'feedback'),
$str, 0, $options));
}