Commit 01c490ce authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Close site options fieldsets by default


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 8cc3f737
...@@ -60,6 +60,7 @@ $siteoptionform = array( ...@@ -60,6 +60,7 @@ $siteoptionform = array(
'sitesettings' => array( 'sitesettings' => array(
'type' => 'fieldset', 'type' => 'fieldset',
'collapsible' => true, 'collapsible' => true,
'collapsed' => true,
'legend' => get_string('sitesettingslegend', 'admin'), 'legend' => get_string('sitesettingslegend', 'admin'),
'elements' => array( 'elements' => array(
'sitename' => array( 'sitename' => array(
...@@ -119,6 +120,7 @@ $siteoptionform = array( ...@@ -119,6 +120,7 @@ $siteoptionform = array(
'usersettings' => array( 'usersettings' => array(
'type' => 'fieldset', 'type' => 'fieldset',
'collapsible' => true, 'collapsible' => true,
'collapsed' => true,
'legend' => get_string('usersettingslegend', 'admin'), 'legend' => get_string('usersettingslegend', 'admin'),
'elements' => array( 'elements' => array(
'userscanchooseviewthemes' => array( 'userscanchooseviewthemes' => array(
...@@ -155,6 +157,7 @@ $siteoptionform = array( ...@@ -155,6 +157,7 @@ $siteoptionform = array(
'searchsettings' => array( 'searchsettings' => array(
'type' => 'fieldset', 'type' => 'fieldset',
'collapsible' => true, 'collapsible' => true,
'collapsed' => true,
'legend' => get_string('searchsettingslegend', 'admin'), 'legend' => get_string('searchsettingslegend', 'admin'),
'elements' => array( 'elements' => array(
'searchplugin' => array( 'searchplugin' => array(
...@@ -179,6 +182,7 @@ $siteoptionform = array( ...@@ -179,6 +182,7 @@ $siteoptionform = array(
'institutionsettings' => array( 'institutionsettings' => array(
'type' => 'fieldset', 'type' => 'fieldset',
'collapsible' => true, 'collapsible' => true,
'collapsed' => true,
'legend' => get_string('institutionsettingslegend', 'admin'), 'legend' => get_string('institutionsettingslegend', 'admin'),
'elements' => array( 'elements' => array(
'usersallowedmultipleinstitutions' => array( 'usersallowedmultipleinstitutions' => array(
...@@ -210,6 +214,7 @@ $siteoptionform = array( ...@@ -210,6 +214,7 @@ $siteoptionform = array(
'accountsettings' => array( 'accountsettings' => array(
'type' => 'fieldset', 'type' => 'fieldset',
'collapsible' => true, 'collapsible' => true,
'collapsed' => true,
'legend' => get_string('accountsettingslegend', 'admin'), 'legend' => get_string('accountsettingslegend', 'admin'),
'elements' => array( 'elements' => array(
'sessionlifetime' => array( 'sessionlifetime' => array(
...@@ -251,6 +256,7 @@ $siteoptionform = array( ...@@ -251,6 +256,7 @@ $siteoptionform = array(
'securitysettings' => array( 'securitysettings' => array(
'type' => 'fieldset', 'type' => 'fieldset',
'collapsible' => true, 'collapsible' => true,
'collapsed' => true,
'legend' => get_string('securitysettingslegend', 'admin'), 'legend' => get_string('securitysettingslegend', 'admin'),
'elements' => array( 'elements' => array(
'viruschecking' => array( 'viruschecking' => array(
...@@ -299,6 +305,7 @@ $siteoptionform = array( ...@@ -299,6 +305,7 @@ $siteoptionform = array(
'generalsettings' => array( 'generalsettings' => array(
'type' => 'fieldset', 'type' => 'fieldset',
'collapsible' => true, 'collapsible' => true,
'collapsed' => true,
'legend' => get_string('generalsettingslegend', 'admin'), 'legend' => get_string('generalsettingslegend', 'admin'),
'elements' => array( 'elements' => array(
'allowpublicviews' => array( 'allowpublicviews' => 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