mirror of
https://github.com/moodle/moodle.git
synced 2025-04-18 23:15:38 +02:00
Added new option to decide if docs will be showed in a new window.
Merged from MOODLE_16_STABLE
This commit is contained in:
parent
71e367bd8a
commit
d3b9dbad78
@ -321,8 +321,11 @@ class configvarrss extends configvar {
|
||||
$interface['docroot'] = new configvar ( get_string('configdocroot', 'admin'),
|
||||
'<input name="docroot" type="text" size="60" value="'.s($config->docroot).'" alt="docroot" />' );
|
||||
|
||||
/// doctonewwindow
|
||||
$interface['doctonewwindow'] = new configvar ( get_string('configdoctonewwindow', 'admin'),
|
||||
choose_from_menu($noyesoptions, 'doctonewwindow', $config->doctonewwindow, '', '', '', true) );
|
||||
|
||||
/// timezone
|
||||
|
||||
$interface['timezone'] = new configvar ( get_string('configtimezone', 'admin'),
|
||||
choose_from_menu (get_list_of_timezones(), 'timezone', $config->timezone, get_string('serverlocaltime'), '', '99', true ) );
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
'digestmailtime' => 17,
|
||||
'displayloginfailures' => '',
|
||||
'docroot' => 'http://docs.moodle.org',
|
||||
'doctonewwindow' => 0,
|
||||
'enablecourserequests' => 0,
|
||||
'enablerssfeeds' => 0,
|
||||
'enablestats' => 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user