You are here

function _build_biblio_tagged_link in Bibliography Module 6

2 calls to _build_biblio_tagged_link()
biblio_link in ./biblio.module
Implementation of hook_link().
_build_biblio_link in ./biblio_theme.inc
Creates a link to export a node (or view) in EndNote Tagged format

File

./biblio_theme.inc, line 951

Code

function _build_biblio_tagged_link($base, $nid) {
  if (module_exists('popups') && !empty($nid)) {
    return array(
      'title' => t('Tagged'),
      'href' => "{$base}/export/tagged/{$nid}/popup",
      'attributes' => array(
        'class' => 'popups',
        'title' => t("Click to get the EndNote Tagged output "),
      ),
    );
  }
  else {
    return array(
      'title' => t('Tagged'),
      'href' => "{$base}/export/tagged/{$nid}",
      'attributes' => array(
        'title' => t("Click to download the EndNote Tagged formatted file"),
      ),
    );
  }
}