mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Added config variable for docroot: the moodle documentations root. This is
used to display a link for the docs that are relevant for the current page.
This commit is contained in:
parent
f5565b6969
commit
14b7ebd3cb
1 changed files with 5 additions and 0 deletions
|
@ -299,10 +299,15 @@ class configvarrss extends configvar {
|
||||||
/// language menu
|
/// language menu
|
||||||
$interface['langcache'] = new configvar ( get_string('configlangcache', 'admin'),
|
$interface['langcache'] = new configvar ( get_string('configlangcache', 'admin'),
|
||||||
choose_from_menu($noyesoptions, 'langcache', $config->langcache, '', '', '', true) );
|
choose_from_menu($noyesoptions, 'langcache', $config->langcache, '', '', '', true) );
|
||||||
|
|
||||||
/// locale
|
/// locale
|
||||||
$interface['locale'] = new configvar ( get_string('configlocale', 'admin'),
|
$interface['locale'] = new configvar ( get_string('configlocale', 'admin'),
|
||||||
'<input name="locale" type="text" size="10" value="'.s($config->locale).'" alt="locale" />' );
|
'<input name="locale" type="text" size="10" value="'.s($config->locale).'" alt="locale" />' );
|
||||||
|
|
||||||
|
/// docroot
|
||||||
|
$interface['docroot'] = new configvar ( get_string('configdocroot', 'admin'),
|
||||||
|
'<input name="docroot" type="text" size="60" value="'.s($config->docroot).'" alt="docroot" />' );
|
||||||
|
|
||||||
/// timezone
|
/// timezone
|
||||||
|
|
||||||
$interface['timezone'] = new configvar ( get_string('configtimezone', 'admin'),
|
$interface['timezone'] = new configvar ( get_string('configtimezone', 'admin'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue