diff --git a/sites/all/themes/unl_wdn/theme-settings.php b/sites/all/themes/unl_wdn/theme-settings.php index 3525208804029caed27be6410d54efbfc6b3bfee..2d4a0ff03914555f7dafd12abd6b65b65a741c1a 100644 --- a/sites/all/themes/unl_wdn/theme-settings.php +++ b/sites/all/themes/unl_wdn/theme-settings.php @@ -41,34 +41,30 @@ function unl_wdn_form_system_theme_settings_alter(&$form, &$form_state) { ), ); - $form[] = array( + $form['intermediate_breadcrumbs'] = array( '#type' => 'fieldset', - '#title' => t('Site Name Abbreviation'), + '#title' => t('Intermediate Breadcrumbs'), + '#description' => t('Breadcrumbs that are displayed between the UNL breadcrumb and this site\'s breadcrumb'), 'site_name_abbreviation' => array( '#type' => 'textfield', + '#title' => t('Site Name Abbreviation'), '#default_value' => theme_get_setting('site_name_abbreviation'), - '#description' => t('An abbreviated version of your site\'s name to use in breadcrumbs.'), + '#description' => t('An abbreviated version of your site\'s name to use in breadcrumbs when not on the front page.'), + '#weight' => 10, ), ); - - $form['intermediate_breadcrumbs'] = array( - '#type' => 'fieldset', - '#title' => t('Intermediate Breadcrumbs'), - '#description' => t('Breadcrumbs that are displayed between the UNL breadcrumb and this site\'s breadcrumb'), - ); - $intermediate_breadcrumbs = theme_get_setting('intermediate_breadcrumbs'); for ($i = 0; $i < 3; $i++) { $form['intermediate_breadcrumbs'][] = array( 'text' => array( '#type' => 'textfield', - '#title' => t('Text ' . ($i + 1)), + '#field_prefix' => t('Text ' . ($i + 1)), '#default_value' => isset($intermediate_breadcrumbs[$i]) ? $intermediate_breadcrumbs[$i]['text'] : '', '#parents' => array('intermediate_breadcrumbs' , $i, 'text'), ), 'href' => array( '#type' => 'textfield', - '#title' => t('URL ' . ($i + 1)), + '#field_prefix' => t(' URL ' . ($i + 1)), '#default_value' => isset($intermediate_breadcrumbs[$i]) ? $intermediate_breadcrumbs[$i]['href'] : '', '#parents' => array('intermediate_breadcrumbs' , $i, 'href'), ),