Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {* Displays alphabetic filter bar for search results. If one more records in resultset starts w/ that letter, item is a link. *} | |
11 | <div id="alpha-filter"> | |
12 | <ul> | |
13 | {foreach from=$aToZ item=letter} | |
c936cb59 | 14 | <li {if $letter.class}class="{$letter.class}"{/if}>{$letter.item}</li> |
6a488035 TO |
15 | {/foreach} |
16 | </ul> | |
17 | </div> |