// Include client library.
drupal_add_js(variable_get('pz2_js_path', 'pazpar2/js')
. '/pz2.js', 'module', 'footer');
+ drupal_add_js($path . '/jquery.ba-bbq.js', 'module', 'footer');
drupal_add_js($path . '/mkdru.theme.js', 'module', 'footer');
drupal_add_js($path . '/mkdru.client.js', 'module', 'footer');
$html = theme('mkdru_results');
/**
* Implementation of hook_init()
*/
-function mkdru_init(){
+function mkdru_init() {
// Applies our module specific CSS to all pages. This works best because
// all CSS is aggregated and cached so we reduce the number of HTTP
// requests and the size is negligible.
switch ($delta) {
case 'mkdru_sources':
$block['subject'] = t('Source');
- $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-sources');
+ $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-source');
return $block;
case 'mkdru_subjects':
$block['subject'] = t('Subject');
- $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-subjects');
+ $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-subject');
return $block;
case 'mkdru_authors':
$block['subject'] = t('Author');
- $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-authors');
+ $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-author');
return $block;
}
if (substr($delta, 0, 13) == 'mkdru_search_') {