X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fpaginator.tpl;h=9593be6b5346df20fe87d1b2d8385591febe959b;hb=673e11ec79aeb1637aa8da51da5da4a27855d4df;hp=c58ebb45d46be5a243bb80048c8048160ed3011f;hpb=247b0f1d99ac6553b5efc4dbe8c0c37f486a9e14;p=squirrelmail.git diff --git a/templates/default/paginator.tpl b/templates/default/paginator.tpl index c58ebb45..9593be6b 100644 --- a/templates/default/paginator.tpl +++ b/templates/default/paginator.tpl @@ -3,28 +3,85 @@ /** * paginator.tpl * - * Copyright (c) 1999-2005 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Template to create a message list paginator * - * Template and utility functions to create a paginator + * 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-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail + * @subpackage templates */ - -include_once(SM_PATH.'templates/util_paginator.php'); +/** include functions */ +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; ?> -