summaryrefslogtreecommitdiff
path: root/templates/theme_control.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-06 10:23:51 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-06 10:23:51 +0000
commitf2b1be8615cbd003dca86c8646e4cf5e27d3450e (patch)
tree781abf89d5f4c39c90ca683283bdec4b34f85a8f /templates/theme_control.tpl
parentced3c4a89470d47d793f4cc5cad211afc6129977 (diff)
downloadthemes-f2b1be8615cbd003dca86c8646e4cf5e27d3450e.tar.gz
themes-f2b1be8615cbd003dca86c8646e4cf5e27d3450e.tar.bz2
themes-f2b1be8615cbd003dca86c8646e4cf5e27d3450e.zip
use gBitSystemPrefs instead of getPreference in templates
Diffstat (limited to 'templates/theme_control.tpl')
-rw-r--r--templates/theme_control.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl
index cc94d42..4354c1a 100644
--- a/templates/theme_control.tpl
+++ b/templates/theme_control.tpl
@@ -96,7 +96,7 @@
{if $direct_pagination eq 'y'}
<br />
{section loop=$cant_pages name=foo}
-{assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystem->getPreference( 'max_records' )"}
+{assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystemPrefs.max_records"}
<a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?tasks_use_dates={$tasks_use_dates}&amp;find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
{$smarty.section.foo.index_next}</a>&nbsp;
{/section}