<?php
/**
 * @file
 * hw_platform_search.current_search.inc
 */

/**
 * Implements hook_current_search_default_items().
 */
function hw_platform_search_current_search_default_items() {
  $export = array();

  $item = new stdClass();
  $item->disabled = FALSE; /* Edit this to true to make a default item disabled initially */
  $item->api_version = 1;
  $item->name = 'empty_search_inserate';
  $item->label = 'Empty search Inserate';
  $item->settings = array(
    'items' => array(
      'text_empty' => array(
        'id' => 'text',
        'label' => 'text empty',
        'text' => 'Bitte geben Sie einen sowohl einen Suchbegriff wie "Maler" oder "Maurer" und den Ort an welchem dieser benötigt ist ein. ',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '0',
      ),
    ),
    'advanced' => array(
      'empty_searches' => '1',
    ),
  );
  $export['empty_search_inserate'] = $item;

  $item = new stdClass();
  $item->disabled = FALSE; /* Edit this to true to make a default item disabled initially */
  $item->api_version = 1;
  $item->name = 'heimwerker';
  $item->label = 'Heimwerker';
  $item->settings = array(
    'items' => array(
      'active_elements' => array(
        'id' => 'active',
        'label' => 'Active elements',
        'pattern' => '[facetapi_active:active-value]',
        'keys' => 0,
        'css' => 0,
        'classes' => '',
        'nofollow' => 1,
        'weight' => '0',
      ),
      'reset' => array(
        'id' => 'text',
        'label' => 'Reset',
        'text' => '',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '0',
      ),
    ),
    'advanced' => array(
      'empty_searches' => '0',
    ),
  );
  $export['heimwerker'] = $item;

  $item = new stdClass();
  $item->disabled = FALSE; /* Edit this to true to make a default item disabled initially */
  $item->api_version = 1;
  $item->name = 'inserate';
  $item->label = 'Inserate';
  $item->settings = array(
    'items' => array(
      'active_elements' => array(
        'id' => 'active',
        'label' => 'Active elements',
        'pattern' => '[facetapi_active:active-value]',
        'keys' => 0,
        'css' => 0,
        'classes' => '',
        'nofollow' => 1,
        'weight' => '0',
      ),
      'reset' => array(
        'id' => 'text',
        'label' => 'Reset',
        'text' => '',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '0',
      ),
    ),
    'advanced' => array(
      'empty_searches' => '0',
    ),
  );
  $export['inserate'] = $item;

  $item = new stdClass();
  $item->disabled = FALSE; /* Edit this to true to make a default item disabled initially */
  $item->api_version = 1;
  $item->name = 'inserate_search_content_area';
  $item->label = 'Inserate Search content area';
  $item->settings = array(
    'items' => array(
      'text' => array(
        'id' => 'text',
        'label' => 'Text',
        'text' => 'Es konnten [facetapi_results:result-count]  passende Inserate zu ihrer Eingabe <b>"[facetapi_results:keys]"</b> gefunden werden',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '-50',
      ),
      'proximity' => array(
        'id' => 'text',
        'label' => 'proximity',
        'text' => '[current-page:query:field_geofield_latlon_1_op] km  von [current-page:query:address].',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '-49',
      ),
    ),
    'advanced' => array(
      'empty_searches' => '3',
    ),
  );
  $export['inserate_search_content_area'] = $item;

  $item = new stdClass();
  $item->disabled = FALSE; /* Edit this to true to make a default item disabled initially */
  $item->api_version = 1;
  $item->name = 'search_block_enter_data';
  $item->label = 'Search block - enter data';
  $item->settings = array(
    'items' => array(
      'empty_search_text' => array(
        'id' => 'text',
        'label' => 'empty search text',
        'text' => 'Bitte geben Sie einen sowohl einen Suchbegriff wie "Maler" oder "Maurer" und den Ort an welchem dieser benötigt ist ein.',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '0',
      ),
    ),
    'advanced' => array(
      'empty_searches' => '1',
    ),
  );
  $export['search_block_enter_data'] = $item;

  $item = new stdClass();
  $item->disabled = FALSE; /* Edit this to true to make a default item disabled initially */
  $item->api_version = 1;
  $item->name = 'search_content_area';
  $item->label = 'Search content area';
  $item->settings = array(
    'items' => array(
      'text' => array(
        'id' => 'text',
        'label' => 'Text',
        'text' => 'Es konnten [facetapi_results:result-count]  passende Heimwerker zu ihrer Eingabe <b>"[facetapi_results:keys]"</b> gefunden werden',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '-50',
      ),
      'url' => array(
        'id' => 'text',
        'label' => 'URL',
        'text' => '[current-page:query:author_field_geofield_latlon_op] km  von [current-page:query:address].',
        'plural' => 0,
        'text_plural' => '',
        'plural_condition' => 'facetapi_results:result-count',
        'wrapper' => 0,
        'element' => '0',
        'css' => 0,
        'classes' => '',
        'weight' => '-49',
      ),
    ),
    'advanced' => array(
      'empty_searches' => '0',
    ),
  );
  $export['search_content_area'] = $item;

  return $export;
}
