You are here

function theme_biblio_openurl in Bibliography Module 5

Same name and namespace in other branches
  1. 6.2 includes/biblio_theme.inc \theme_biblio_openurl()
  2. 6 biblio_theme.inc \theme_biblio_openurl()
  3. 7 includes/biblio_theme.inc \theme_biblio_openurl()
  4. 7.2 includes/biblio.theme.inc \theme_biblio_openurl()
2 theme calls to theme_biblio_openurl()
theme_biblio_list in ./biblio.module
theme_biblio_long in ./biblio.module

File

./biblio.module, line 3645

Code

function theme_biblio_openurl($openURL) {
  $openurl_image = check_plain(variable_get('biblio_openurlimage', ''));
  if ($openurl_image != '') {
    $output .= '<div class="biblio-openurl-image"><a href="' . $openURL . '"><img border="0" src="' . $openurl_image . '" /></a></div>';
  }
  else {
    $output .= '<div class="biblio-openurl-text"><a href="' . $openURL . '">' . t('Find It Via OpenURL!') . '</a></div>';
  }
  return $output;
}