| |
| |
|
|
| ';
$enableoptions = openmeetings_get_roommodes();
$this->config->roomtype = isset($this->config->roomtype) ? $this->config->roomtype : 1 ;
choose_from_menu ($enableoptions, 'roomtype', $this->config->roomtype, '', '', '');
?>
|
| ';
$enableoptions = openmeetings_get_maxusers();
$this->config->maxusers = isset($this->config->maxusers) ? $this->config->maxusers : 2 ;
choose_from_menu ($enableoptions, 'maxusers', $this->config->maxusers, '', '', '');
?>
|
| ';
$enableoptions = openmeetings_get_moderations();
$this->config->waitforteacher = isset($this->config->waitforteacher) ? $this->config->waitforteacher : 1 ;
choose_from_menu ($enableoptions, 'waitforteacher', $this->config->waitforteacher, '', '', '');
?>
|
| ';
if (!empty($this->config->server)){
$omserver = get_server_info($this->config->server);
} else {
$omserver->omversion = '1.6'; // take last version as default.
}
$langchoice = openmeetings_get_languages($omserver->omversion);
$this->config->language = isset($this->config->language) ? $this->config->language : 1 ;
choose_from_menu($langchoice, 'language', $this->config->language);
?>
|
| ';
$enableoptions = openmeetings_get_durations();
$this->config->duration = isset($this->config->duration) ? $this->config->duration : 1 ;
choose_from_menu ($enableoptions, 'duration', $this->config->duration, '', '', '');
?>
|
| ';
$yesnooptions = array('1' => get_string('yes'), '2' => get_string('no'));
$this->config->ispublic = isset($this->config->ispublic) ? $this->config->ispublic : 0 ;
choose_from_menu ($yesnooptions, 'ispublic', $this->config->ispublic, '', '', '');
?>
|