lexicon-alphabar.tpl.php in Lexicon 7
Default theme implementation for displaying an alphabar in the Lexicon overview page.
This template renders an alphabar in the Lexicon overview page.
Available variables:
- $lexicon_alphabar: alphabar object.
- $lexicon_alphabar->instructions: The alphabar instructions text.
- $lexicon_alphabar->separator: The separator to be used between the letters in the alphabar.
- $lexicon_alphabar->letters: An array of letters to be used in the alphabar.
1 theme call to lexicon-alphabar.tpl.php
- _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
templates/lexicon-alphabar.tpl.phpView source
<?php
/**
* @file
* Default theme implementation for displaying an alphabar in the Lexicon
* overview page.
*
* This template renders an alphabar in the Lexicon overview page.
*
* Available variables:
* - $lexicon_alphabar: alphabar object.
* - $lexicon_alphabar->instructions: The alphabar instructions text.
* - $lexicon_alphabar->separator: The separator to be used between the
* letters in the alphabar.
* - $lexicon_alphabar->letters: An array of letters to be used in the
* alphabar.
*/
?>
<div class="lexicon-links">
<?php
print implode($lexicon_alphabar->separator, $lexicon_alphabar->letters);
?>
</div>
<div class="lexicon-alphabar-instructions">
<?php
print $lexicon_alphabar->instructions;
?>
</div>