6 * Template to create a message list paginator
8 * The following variables are available in this template:
9 //FIXME: need to clean (and document) this list, it is just a dump of the array keys of $t
26 * $hide_sm_attributions
59 * $fancy_index_highlite
65 * @copyright 1999-2018 The SquirrelMail Project Team
66 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
68 * @package squirrelmail
69 * @subpackage templates
72 /** include functions */
73 include_once(SM_PATH . 'functions/template/paginator_util.php');
79 if ($javascript_on && $compact_paginator && !isset($bScriptAdded)) {
83 <!-- start of compact paginator javascript -->
84 <script type="text/javascript">
85 function SubmitOnSelect(select, URL)
87 URL += select.options[select.selectedIndex].value;
88 window.location.href = URL;
91 <!-- end of compact paginator javascript -->
96 if (isset($compact_paginator) && $compact_paginator) {
97 $sPaginator = get_compact_paginator_str($mailbox, $pageOffset, $iNumberOfMessages, $messagesPerPage, $showall, $javascript_on, $page_selector);
99 $sPaginator = get_paginator_str($mailbox, $pageOffset, $iNumberOfMessages, $messagesPerPage, $showall, $page_selector, $page_selector_max);
101 // display the paginator string.