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

Diff of /contributions/modules/livesearch/livesearch.module

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

revision 1.18, Sun Jan 20 19:49:54 2008 UTC revision 1.19, Sun Sep 7 18:39:45 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: livesearch.module,v 1.17 2007/08/08 03:08:14 kourge Exp $  // $Id: livesearch.module,v 1.18 2008/01/20 19:49:54 kourge Exp $
3    
4  /**  /**
5   * Implementation of hook_menu().   * Implementation of hook_menu().
# Line 17  function livesearch_menu($may_cache) { Line 17  function livesearch_menu($may_cache) {
17      if (!$settings_injected) {      if (!$settings_injected) {
18        $search_results_location = variable_get('livesearch_search_results_location', 'after_search_box');        $search_results_location = variable_get('livesearch_search_results_location', 'after_search_box');
19        $settings = array('liveSearch' => array(        $settings = array('liveSearch' => array(
20          'targetSearchBox' => variable_get('livesearch_target_search_box', 'theme'),          'targetSearchBox' => variable_get('livesearch_target_search_box', 'auto'),
21          'compactSearchBox' => variable_get('livesearch_compact_search_box', TRUE),          'compactSearchBox' => variable_get('livesearch_compact_search_box', TRUE),
22          'delayDuration' => variable_get('livesearch_delay_duration', 1250),          'delayDuration' => variable_get('livesearch_delay_duration', 1250),
23          'queryURL' => url('livesearch/node'),          'queryURL' => url('livesearch/node'),

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.2