diff options
| -rw-r--r-- | templates/theme_control.tpl | 2 | ||||
| -rw-r--r-- | templates/theme_control_objects.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl index 4354c1a..a273838 100644 --- a/templates/theme_control.tpl +++ b/templates/theme_control.tpl @@ -93,7 +93,7 @@ {if $next_offset >= 0} [<a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?find={$find}&offset={$next_offset}&sort_mode={$sort_mode}">{tr}next{/tr}</a>] {/if} -{if $direct_pagination eq 'y'} +{if $gBitSystem->isFeatureActive( 'direct_pagination' )} <br /> {section loop=$cant_pages name=foo} {assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystemPrefs.max_records"} diff --git a/templates/theme_control_objects.tpl b/templates/theme_control_objects.tpl index 9507a91..5250160 100644 --- a/templates/theme_control_objects.tpl +++ b/templates/theme_control_objects.tpl @@ -108,7 +108,7 @@ {if $next_offset >= 0} [<a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?find={$find}&offset={$next_offset}&sort_mode={$sort_mode}">{tr}next{/tr}</a>] {/if} -{if $direct_pagination eq 'y'} +{if $gBitSystem->isFeatureActive( 'direct_pagination' )} <br /> {section loop=$cant_pages name=foo} {assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystemPrefs.max_recor"} |
