You are here

function _biblio_text_year in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 biblio.module \_biblio_text_year()
  2. 7 biblio.module \_biblio_text_year()
  3. 7.2 biblio.module \_biblio_text_year()
4 calls to _biblio_text_year()
biblio_handler_field::pre_render in views/biblio_handler_field.inc
biblio_load in ./biblio.module
Implementation of hook_load().
theme_biblio_long in ./biblio_theme.inc
DEPRECIATED! this was the original output format which is not to flexable it will be removed TODO: remove this function
_get_biblio_filters in ./biblio.pages.inc

File

./biblio.module, line 1663

Code

function _biblio_text_year($year) {
  if ($year == 9998) {
    return check_plain(variable_get('biblio_inpress_year_text', t('In Press')));
  }
  if ($year == 9999) {
    return check_plain(variable_get('biblio_no_year_text', t('Submitted')));
  }
  return $year;
}