'fieldset', '#title' => t('Settings'), ); $form['settings']['xspf_playlist_title'] = array( '#type' => 'textfield', '#title' => t('Default playlist title'), '#default_value' => variable_get('xspf_playlist_title', t('!sitename playlist', array('!sitename' => variable_get('site_name', 'Drupal')))), '#description' => t('Displayed on playlist.'), ); $form['settings']['xspf_playlist_info'] = array( '#type' => 'textfield', '#title' => t('Default playlist info'), '#default_value' => variable_get('xspf_playlist_info', ''), '#description' => t('Information about this playlist. Some players will display this information') ); $form['settings']['xspfp_filetype'] = array( '#type' => 'textfield', '#title' => t('File type support'), '#default_value' => variable_get('xspfp_filetype', 'flv,jpg,gif,png,mp3'), '#description' => t('Will only use attached files of these file types. Comma seperated list, avoid spaces.'), ); $form = system_settings_form($form); // Set a high weight to facilitate other modules adding items above the buttons. $form['buttons']['#weight'] = 5; return $form; }