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:
vyshane 2006-03-01 07:45:29 +00:00
parent f5565b6969
commit 14b7ebd3cb

View file

@ -299,10 +299,15 @@ class configvarrss extends configvar {
/// language menu
$interface['langcache'] = new configvar ( get_string('configlangcache', 'admin'),
choose_from_menu($noyesoptions, 'langcache', $config->langcache, '', '', '', true) );
/// locale
$interface['locale'] = new configvar ( get_string('configlocale', 'admin'),
'<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
$interface['timezone'] = new configvar ( get_string('configtimezone', 'admin'),