26a27,65
> 
> 
> /**
>  * Implementation of hook_menu().
>  */
> function jquery_ui_menu() {
>   $items['admin/settings/jquery_ui'] = array(
>     'title' => 'jQuery UI',
>     'description' => 'Configure settings for jQuery UI module.',
>     'page callback' => 'drupal_get_form',
>     'page arguments' => array('jquery_ui_settings'),
>     'access arguments' => array('administer site configuration'),
>   );
>   return $items;
> }
> 
> /**
>  * Admin settings form.
>  */
> function jquery_ui_settings() {
>   $themes = array();
>   foreach (glob(drupal_get_path('module', 'jquery_ui') . '/jquery.ui/themes/*') as $theme) {
>     $theme = basename($theme);
>     $theme_str = ucwords(str_replace('-', ' ', $theme));
>     $themes[$theme] = $theme_str;
>   }
> 
>   $form['jquery_ui_theme'] = array(
>     '#type' => 'select',
>     '#title' => t('Choose jQuery UI Theme'),
>     '#options' => $themes,
>     '#default_value' => variable_get('jquery_ui_theme', 'base'),
>   );
> 
>   return system_settings_form($form);
> }
> 
> 
> 
51a91
>     drupal_add_css(drupal_get_path('module', 'jquery_ui') . '/jquery.ui/themes/' . variable_get('jquery_ui_theme', 'base') . '/ui.all.css');
