Commit bf14e47f authored by frjo's avatar frjo

Changes all fieldset in to HTML5 details elements.

parent 1439cca0
......@@ -42,8 +42,9 @@ class ColorboxSettingsForm extends ConfigFormBase {
//$library = libraries_detect('colorbox');
$form['colorbox_custom_settings'] = array(
'#type' => 'fieldset',
'#type' => 'details',
'#title' => t('Styles and options'),
'#open' => TRUE,
);
$colorbox_styles = array(
'default' => t('Default'),
......@@ -177,7 +178,7 @@ class ColorboxSettingsForm extends ConfigFormBase {
);
$form['colorbox_custom_settings']['colorbox_slideshow_settings'] = array(
'#type' => 'fieldset',
'#type' => 'details',
'#title' => t('Slideshow settings'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
......@@ -235,10 +236,8 @@ class ColorboxSettingsForm extends ConfigFormBase {
);
$form['colorbox_advanced_settings'] = array(
'#type' => 'fieldset',
'#type' => 'details',
'#title' => t('Advanced settings'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$form['colorbox_advanced_settings']['colorbox_unique_token'] = array(
'#type' => 'radios',
......
Markdown is supported
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