/[drupal]/contributions/modules/views/views.module
ViewVC logotype

Diff of /contributions/modules/views/views.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.332.2.11, Tue Nov 10 23:20:05 2009 UTC revision 1.332.2.12, Wed Nov 11 01:08:28 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: views.module,v 1.332.2.10 2009/09/24 23:33:40 merlinofchaos Exp $  // $Id: views.module,v 1.332.2.11 2009/11/10 23:20:05 merlinofchaos Exp $
3  /**  /**
4   * @file   * @file
5   * Primarily Drupal hooks and global API functions to manipulate views.   * Primarily Drupal hooks and global API functions to manipulate views.
# Line 995  function views_exposed_form(&$form_state Line 995  function views_exposed_form(&$form_state
995    $form['submit'] = array(    $form['submit'] = array(
996      '#name' => '', // prevent from showing up in $_GET.      '#name' => '', // prevent from showing up in $_GET.
997      '#type' => 'submit',      '#type' => 'submit',
998      '#value' => t('Apply'),      '#value' => t($form_state['submit_button']),
999      '#id' => form_clean_id('edit-submit-' . $view->name),      '#id' => form_clean_id('edit-submit-' . $view->name),
1000    );    );
1001    
# Line 1042  function views_exposed_form_submit(&$for Line 1042  function views_exposed_form_submit(&$for
1042    $form_state['view']->exposed_raw_input = array();    $form_state['view']->exposed_raw_input = array();
1043    
1044    foreach ($form_state['values'] as $key => $value) {    foreach ($form_state['values'] as $key => $value) {
1045      if (!in_array($key, array('q', 'submit', 'form_build_id', 'form_id', 'form_token', ''))) {      if (!in_array($key, array('q', 'submit', 'form_build_id', 'form_id', 'form_token', 'submit_button', ''))) {
1046        $form_state['view']->exposed_raw_input[$key] = $value;        $form_state['view']->exposed_raw_input[$key] = $value;
1047      }      }
1048    }    }

Legend:
Removed from v.1.332.2.11  
changed lines
  Added in v.1.332.2.12

  ViewVC Help
Powered by ViewVC 1.1.2