X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=templates%2Fdefault%2Fpaginator.tpl;h=c3b9dc0d600d2f6be9b2f3b545b7974027ba6347;hp=a0c5af2452736cc625aeb24435af366e5cbfd779;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hpb=2c92ea9da4c11cac1ea3118a1e0fda6407e5d62b;ds=sidebyside diff --git a/templates/default/paginator.tpl b/templates/default/paginator.tpl index a0c5af24..c3b9dc0d 100644 --- a/templates/default/paginator.tpl +++ b/templates/default/paginator.tpl @@ -3,9 +3,66 @@ /** * paginator.tpl * - * Template and utility functions to create a paginator + * Template to create a message list paginator * - * @copyright © 1999-2006 The SquirrelMail Project Team + * The following variables are available in this template: +//FIXME: need to clean (and document) this list, it is just a dump of the array keys of $t + * $sTemplateID + * $icon_theme_path + * $javascript_on + * $delayed_errors + * $frames + * $lang + * $page_title + * $header_tags + * $plugin_output + * $header_sent + * $body_tag_js + * $shortBoxName + * $sm_attribute_str + * $frame_top + * $urlMailbox + * $startMessage + * $hide_sm_attributions + * $uri + * $text + * $onclick + * $class + * $id + * $target + * $color + * $form_name + * $form_id + * $page_selector + * $page_selector_max + * $messagesPerPage + * $showall + * $end_msg + * $align + * $iNumberOfMessages + * $aOrder + * $aFormElements + * $sort + * $pageOffset + * $baseurl + * $aMessages + * $trash_folder + * $sent_folder + * $draft_folder + * $thread_link_str + * $php_self + * $mailbox + * $enablesort + * $icon_theme + * $use_icons + * $alt_index_colors + * $fancy_index_highlite + * $aSortSupported + * $show_label_columns + * $compact_paginator + * $aErrors + * + * @copyright 1999-2018 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -13,13 +70,13 @@ */ /** include functions */ -include_once(SM_PATH.'templates/util_paginator.php'); +include_once(SM_PATH . 'functions/template/paginator_util.php'); static $bScriptAdded; extract($t); -if ($javascript_on && $compact_paginator &&!isset($bScriptAdded)) { +if ($javascript_on && $compact_paginator && !isset($bScriptAdded)) { $bScriptAdded = true; ?> @@ -43,4 +100,3 @@ if ($javascript_on && $compact_paginator &&!isset($bScriptAdded)) { } // display the paginator string. echo $sPaginator; -?> \ No newline at end of file