You are here

function biblio_author_page in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 includes/biblio.pages.inc \biblio_author_page()
  2. 6 biblio.pages.inc \biblio_author_page()
  3. 7.2 includes/biblio.pages.inc \biblio_author_page()
1 string reference to 'biblio_author_page'
biblio_menu in ./biblio.module
Implements hook_menu().

File

includes/biblio.pages.inc, line 1228
Copyright (C) 2006-2011 Ron Jerome.

Code

function biblio_author_page() {
  $path = drupal_get_path('module', 'biblio');
  drupal_add_js($path . '/misc/biblio.highlight.js', 'file');
  $uri = drupal_parse_url(request_uri());
  $filter = isset($uri['query']['f']['author']) ? $uri['query']['f']['author'] : '';
  $authors = _biblio_get_authors($filter);
  return _biblio_format_author_page($uri['path'], $filter, $authors);
}