Commit 43114c65 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Add collapseifoneoption to language, theme

parent f90c2bae
...@@ -53,6 +53,7 @@ $siteoptionform = form(array( ...@@ -53,6 +53,7 @@ $siteoptionform = form(array(
'title' => get_string('language'), 'title' => get_string('language'),
'description' => get_string('sitelanguagedescription'), 'description' => get_string('sitelanguagedescription'),
'defaultvalue' => get_config('language'), 'defaultvalue' => get_config('language'),
'collapseifoneoption' => true,
'options' => $langoptions, 'options' => $langoptions,
), ),
'theme' => array( 'theme' => array(
...@@ -60,6 +61,7 @@ $siteoptionform = form(array( ...@@ -60,6 +61,7 @@ $siteoptionform = form(array(
'title' => get_string('theme'), 'title' => get_string('theme'),
'description' => get_string('sitethemedescription'), 'description' => get_string('sitethemedescription'),
'defaultvalue' => get_config('theme'), 'defaultvalue' => get_config('theme'),
'collapseifoneoption' => true,
'options' => $themeoptions, 'options' => $themeoptions,
), ),
'viruschecking' => array( 'viruschecking' => array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment