summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-05 21:31:33 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-05 21:31:33 +0000
commit8cfce8b3a080c87c0008abd899302e33333a126f (patch)
tree9ec72819a6345c73684e8c1f11f53eecd4d42c70
parent6cbd161bd9394152fc7e29f209e1c3401435b781 (diff)
downloadthemes-8cfce8b3a080c87c0008abd899302e33333a126f.tar.gz
themes-8cfce8b3a080c87c0008abd899302e33333a126f.tar.bz2
themes-8cfce8b3a080c87c0008abd899302e33333a126f.zip
use standard lowercase under_score naming convention for all preferences stored in kernel_prefs
-rw-r--r--templates/popup_header_inc.tpl4
-rw-r--r--templates/theme_control.tpl2
-rw-r--r--templates/theme_control_objects.tpl2
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/popup_header_inc.tpl b/templates/popup_header_inc.tpl
index 118ad7c..0b4170c 100644
--- a/templates/popup_header_inc.tpl
+++ b/templates/popup_header_inc.tpl
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>{$browserTitle} - {$gBitSystemPrefs.siteTitle}</title>
+ <title>{$browserTitle} - {$gBitSystemPrefs.site_title}</title>
<link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitSystem->getStyleCss($smarty.request.site_style)}" media="all" />
{include file="bitpackage:kernel/header_inc.tpl"}
@@ -10,7 +10,7 @@
<body id="jspopup">
<div class="display jspopup">
<div class="header">
- <title>{$browserTitle} - {$gBitSystemPrefs.siteTitle}</title>
+ <title>{$browserTitle} - {$gBitSystemPrefs.site_title}</title>
</div>
<div class="body">
diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl
index 2a63475..cc94d42 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:$maxRecords}
+{assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystem->getPreference( '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}
diff --git a/templates/theme_control_objects.tpl b/templates/theme_control_objects.tpl
index cc0289a..ca4a3f0 100644
--- a/templates/theme_control_objects.tpl
+++ b/templates/theme_control_objects.tpl
@@ -111,7 +111,7 @@
{if $direct_pagination eq 'y'}
<br />
{section loop=$cant_pages name=foo}
-{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords}
+{assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystem->getPreference( 'max_records' )"}
<a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.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}
{/if}