Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/content_types/search/search_form.inc
1 1
<?php
2 2

  
3
/**
4
 * @file
5
 */
6

  
3 7
if (module_exists('search')) {
4 8
  /**
5 9
   * Plugins are described by creating a $plugin array which will be used
......
35 39
  }
36 40

  
37 41
  // Build the content type block.
38
  $block = new stdClass();
39
  $block->module  = 'search';
40
  $block->delta   = 'form';
41
  $block->title   = '';
42
  $block         = new stdClass();
43
  $block->module = 'search';
44
  $block->delta  = 'form';
45
  $block->title  = '';
42 46

  
43 47
  switch ($conf['path_type']) {
44 48
    default:
......
49 53
      $path = $_GET['q'];
50 54
      $path = str_replace($keys, '', $path);
51 55
      break;
56

  
52 57
    case 'custom':
53 58
      $path = $conf['path'];
54 59
      break;

Formats disponibles : Unified diff