'yes', 'zen_breadcrumb_separator' => ' › ', 'zen_breadcrumb_home' => 1, 'zen_breadcrumb_trailing' => 1, ); $defaults = array_merge($defaults, $subtheme_defaults); // Merge the saved variables and their default values $settings = array_merge($defaults, $saved_settings); /* * Create the form using Form API */ $form['breadcrumb'] = array( '#type' => 'fieldset', '#title' => t('Breadcrumb settings'), ); $form['breadcrumb']['zen_breadcrumb'] = array( '#type' => 'select', '#title' => t('Display breadcrumb'), '#default_value' => $settings['zen_breadcrumb'], '#options' => array( 'yes' => 'Yes', 'admin' => 'Only in admin section', 'no' => 'No', ), ); $form['breadcrumb']['zen_breadcrumb_separator'] = array( '#type' => 'textfield', '#title' => t('Breadcrumb separator'), '#description' => 'Text only. Don’t forget to include spaces.', '#default_value' => $settings['zen_breadcrumb_separator'], '#size' => 5, '#maxlength' => 10, '#prefix' => '
', // #div-zen-breadcrumb ); // Return the form return $form; }