You are here

function _biblio_filter_reference_tips in Bibliography Module 7.2

Same name and namespace in other branches
  1. 7 biblio.module \_biblio_filter_reference_tips()

Tips callback for hook_filter_info().

1 string reference to '_biblio_filter_reference_tips'
biblio_filter_info in ./biblio.module
Implements hook_filter_info().

File

./biblio.module, line 2033

Code

function _biblio_filter_reference_tips($filter, $format, $long = FALSE) {
  if (!$long) {

    // This string will be shown in the content add/edit form
    return t('Use &lt;bib&gt;<i>citekey</i>&lt;/bib&gt; <b><i>or</i></b> [bib]<i>citekey</i>[/bib] to insert automatically numbered references.');
  }
  else {
    return t('You can cite references directly into texts with <code>&lt;bib&gt;<i>citekey</i>&lt;/bib&gt; <b><i>or</i></b> [bib]<i>citekey</i>[/bib]</code>. This will be replaced with a running number (the publication reference) and the publication referenced by the citekey within the &lt;bib&gt; tags will be printed at the bottom of the page (the reference).');
  }
}