You are here

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.

File

templates/lexicon-alphabar.tpl.php
View 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>