big big big update

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-10-09 21:30:27 +02:00
parent fb30fe966e
commit 3b4f1e024f
96 changed files with 37252 additions and 431 deletions

View File

@@ -0,0 +1,37 @@
<?php
/**
* @file
* This is the file description for materio_search_api_ajax module.
*
* In this more verbose, multi-line description, you can specify what this
* file does exactly. Make sure to wrap your documentation in column 78 so
* that the file can be displayed nicely in default-sized consoles.
*/
/**
* Implements hook_init().
*/
function materio_search_api_ajax_init() {
drupal_add_js(drupal_get_path('module', 'materio_search_api_ajax').'/js/libraries/jquery.history.js');
drupal_add_js(drupal_get_path('module', 'materio_search_api_ajax').'/js/materio_search_api_ajax-ck.js');
}
/**
* Implements hook_menu().
*/
function materio_search_api_ajax_menu() {
$items = array();
$items['materio_search_api_ajax/search/%'] = array(
'title' => 'Matrio base ajax',
'page callback' => 'materio_search_api_ajax_search',
'page arguments' => array(2,3),
'access callback' => TRUE,
'access arguments' => array('use materio search api'),
'file' => 'materio_search_api_ajax.pages.inc',
'type' => MENU_CALLBACK,
);
return $items;
}