You are here

function biblio_filter_tips in Bibliography Module 5

Same name and namespace in other branches
  1. 6.2 biblio.module \biblio_filter_tips()
  2. 6 biblio.module \biblio_filter_tips()

Implementation of hook_filter_tips().

This hook allows filters to provide help text to users during the content editing process. Short tips are provided on the content editing screen, while long tips are provided on a separate linked page. Short tips are optional, but long tips are highly recommended.

File

./biblio.module, line 3494

Code

function biblio_filter_tips($delta, $format, $long = FALSE) {
  switch ($delta) {
    case 0:
      if ($long) {
        return t('You can cite references directly into texts with <code>&lt;bib&gt;citekey&lt;/bib&gt;</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 print to the bottom of the page (the reference).');
      }
      else {
        return t('Use &lt;bib&gt;...&lt;/bib&gt; to insert automatically numbered references.');
      }
      break;
  }
}