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

Diff of /contributions/modules/search_autocomplete/search_autocomplete.module

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

revision 1.2, Wed Nov 14 21:42:23 2007 UTC revision 1.3, Mon Dec 17 23:42:33 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id:$  // $Id: search_autocomplete.module,v 1.2 2007/11/14 21:42:23 bonvga Exp $
3    
4  /*  /*
5   * Drupal Module: Search Autocomplete   * Drupal Module: Search Autocomplete
# Line 75  function search_autocomplete_admin_setti Line 75  function search_autocomplete_admin_setti
75                  '#default_value' => variable_get('search_autocomplete_method', 1),                  '#default_value' => variable_get('search_autocomplete_method', 1),
76                  '#options' => array(                  '#options' => array(
77                          '1' => t('Natural sort (no sort)'),                          '1' => t('Natural sort (no sort)'),
78                          '2' => t('Sort keyword alphabeticly'),                          '2' => t('Sort keyword alphabetically'),
79                          '3' => t('Sort by keyword\'s score'),                          '3' => t('Sort by keyword\'s score'),
80                          '4' => t('Sort by keyword\'s relevance (slow)'),                          '4' => t('Sort by keyword\'s relevance (slow)'),
81                  ),                  ),
# Line 111  function search_autocomplete_admin_setti Line 111  function search_autocomplete_admin_setti
111          $form['search_autocomplete_setting_test'] = array(          $form['search_autocomplete_setting_test'] = array(
112                  '#type' => 'fieldset',                  '#type' => 'fieldset',
113                  '#title' => t('Test field'),                  '#title' => t('Test field'),
114                  '#description' => t('In this field, you can check the apparence of an autocomplete search field.'),                  '#description' => t('In this field, you can check the appearence of an autocomplete search field.'),
115                  '#collapsible' => TRUE,                  '#collapsible' => TRUE,
116                  '#collapsed' => TRUE                  '#collapsed' => TRUE
117          );          );
# Line 121  function search_autocomplete_admin_setti Line 121  function search_autocomplete_admin_setti
121                  '#size' => 40,                  '#size' => 40,
122                  '#maxlength' => 40,                  '#maxlength' => 40,
123                  '#default_value' => '',                  '#default_value' => '',
124                  '#description' => t("Enter a keyword and wait the result."),                  '#description' => t("Enter a keyword and wait for the result."),
125                  '#autocomplete_path' => 'search_autocomplete/autocomplete',                  '#autocomplete_path' => 'search_autocomplete/autocomplete',
126                  '#required' => FALSE,                  '#required' => FALSE,
127          );          );

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2