1<?php if (count($this) > $prefs->getValue('perpage')): ?>
2<div class="turbaPager">
3<?php
4$currentPage = Horde_String::upper($page);
5if ($currentPage == '*') {
6    echo '<strong>(' . _("All") . ')</strong>&nbsp;';
7} else {
8    echo $viewurl->copy()->add('page', '*')->link() . _("All") . '</a>&nbsp;';
9}
10for ($i = 65; $i < 91; $i++) {
11    $a = chr($i);
12    if ($currentPage == $a) {
13        echo '<strong>(' . $a . ')</strong>&nbsp;';
14    } else {
15        echo $viewurl->copy()->add('page', $a)->link() . $a . '</a>&nbsp;';
16    }
17}
18?>
19</div>
20<?php endif; ?>
21