summaryrefslogtreecommitdiff
path: root/templates/pagination.tpl
diff options
context:
space:
mode:
authorHash9 <hash9@users.sourceforge.net>2006-07-12 17:19:01 +0000
committerHash9 <hash9@users.sourceforge.net>2006-07-12 17:19:01 +0000
commit55aa0f02d71d7a89da4be997aba0b9dc1033ab4b (patch)
treee2c5d072b9bda5f9a01d912c638be8d051580920 /templates/pagination.tpl
parent1abfa8518a7ecb20a06e7db16cb516af0451b7cf (diff)
downloadkernel-55aa0f02d71d7a89da4be997aba0b9dc1033ab4b.tar.gz
kernel-55aa0f02d71d7a89da4be997aba0b9dc1033ab4b.tar.bz2
kernel-55aa0f02d71d7a89da4be997aba0b9dc1033ab4b.zip
adapt comments so it can be used with boards & patch pagementation so it adds extra paramerters in all the generated urls
Diffstat (limited to 'templates/pagination.tpl')
-rw-r--r--templates/pagination.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/pagination.tpl b/templates/pagination.tpl
index f9c7038..e151881 100644
--- a/templates/pagination.tpl
+++ b/templates/pagination.tpl
@@ -38,6 +38,9 @@
{foreach from=$listInfo.ihash key=param item=value}
&amp;{$param}={$value}
{/foreach}
+ {foreach from=$pgnHidden key=name item=value}
+ &amp;{$name}={$value}
+ {/foreach}
{/capture}
{assign var=pageUrl value="`$smarty.server.PHP_SELF`?sort_mode=`$listInfo.sort_mode`&amp;find=`$listInfo.find``$smarty.capture.string`"}
{math equation="offset + 1 * max" offset=$listInfo.offset max=$listInfo.max_records assign=to}