Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
232624b1 | 3 | | CiviCRM version 4.4 | |
6a488035 TO |
4 | +--------------------------------------------------------------------+ |
5 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
6 | +--------------------------------------------------------------------+ | |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | {if $pager and $pager->_response} | |
27 | {if $pager->_response.numPages > 1} | |
28 | <div class="crm-pager"> | |
29 | {if ! isset($noForm) || ! $noForm} | |
30 | <span class="element-right"> | |
31 | {if $location eq 'top'} | |
32 | {$pager->_response.titleTop} <input class="form-submit" name="{$pager->_response.buttonTop}" value="{ts}Go{/ts}" type="submit"/> | |
33 | {else} | |
34 | {$pager->_response.titleBottom} <input class="form-submit" name="{$pager->_response.buttonBottom}" value="{ts}Go{/ts}" type="submit"/> | |
35 | {/if} | |
36 | </span> | |
37 | {/if} | |
38 | <span class="crm-pager-nav"> | |
39 | {$pager->_response.first} | |
40 | {$pager->_response.back} | |
41 | {$pager->_response.next} | |
f813f78e | 42 | {$pager->_response.last} |
43 | {$pager->_response.status} | |
6a488035 TO |
44 | </span> |
45 | ||
46 | </div> | |
47 | {/if} | |
f813f78e | 48 | |
6a488035 TO |
49 | {* Controller for 'Rows Per Page' *} |
50 | {if $location eq 'bottom' and $pager->_totalItems > 25} | |
51 | <div class="form-item float-right"> | |
f813f78e | 52 | <label>{ts}Rows per page:{/ts}</label> |
6a488035 TO |
53 | {$pager->_response.twentyfive} | |
54 | {$pager->_response.fifty} | | |
f813f78e | 55 | {$pager->_response.onehundred} |
6a488035 TO |
56 | </div> |
57 | <div class="clear"></div> | |
58 | {/if} | |
59 | ||
60 | {/if} |