function _lexicon_alphabar_instruction_default in Lexicon 7
Function that returns the default alphabar instruction based on the page per letter setting.
2 calls to _lexicon_alphabar_instruction_default()
- lexicon_alphabet_form in includes/
lexicon.admin.inc - Lexicon alphabar settings form.
- _lexicon_alphabar in includes/
lexicon.pages.inc - Function that builds up the alphabar that is displayed at the top of the Lexicon overview page.
File
- ./
lexicon.module, line 1278 - The Lexicon module is used to create lists of terms and definitions to use on a website and optionally mark those terms in the content of the website.
Code
function _lexicon_alphabar_instruction_default() {
if (variable_get('lexicon_page_per_letter', FALSE)) {
return t('Click one of the letters above to go to the page of all terms beginning with that letter.');
}
else {
return t('Click one of the letters above to advance the page to terms beginning with that letter.');
}
}