A minor fix, the dev snapshot doesn't currently pull the openurl image in the theme function as it should.

So This:

function theme_biblio_openurl($openURL) {
	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;
}

should look like this:

function theme_biblio_openurl($openURL) {
    $openurl_image = 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;
}

I've attached a patch as well.

Thanks.

CommentFileSizeAuthor
biblio_openurlimg.patch395 bytescfennell

Comments

rjerome’s picture

Oops, sorry about that, it's fixed now.

Ron.

rjerome’s picture

Status: Active » Fixed
rjerome’s picture

Status: Fixed » Closed (fixed)