Fix for theming exposed filters

  1. function phptemplate_views_filters($form) {
  2.   if ($form['#view_name'] == 'space') {
  3.       //$form['filter2']['#type']='checkboxes';
  4.       $form['filter2']['#size']=15;
  5.       $form['submit']['#theme'] = 'button';
  6.           $form['submit']['#button_type'] = 'image';
  7.           $form['submit']['#attributes'] = array(
  8.             'src' => 'http://localhost:8888/custard/sites/all/themes/zen/custardfactory/images/search.jpg',
  9.             'alt' => t('Search'),
  10.           );
  11.   }
  12.   return theme_views_filters ($form);
  13. }

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.