function theme_biblio_openurl in Bibliography Module 5
Same name and namespace in other branches
- 6.2 includes/biblio_theme.inc \theme_biblio_openurl()
- 6 biblio_theme.inc \theme_biblio_openurl()
- 7 includes/biblio_theme.inc \theme_biblio_openurl()
- 7.2 includes/biblio.theme.inc \theme_biblio_openurl()
2 theme calls to theme_biblio_openurl()
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;
}