diff options
| author | Christian Fowler <spider@viovio.com> | 2006-03-01 18:35:15 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-03-01 18:35:15 +0000 |
| commit | 7fc4ec929cee38eae37b724d4874ad61d6e9ad4a (patch) | |
| tree | 7327249b875958b82efe5fce42005c99aecef06f /templates/top_bar.tpl | |
| parent | dbdc6bc37989a4cc51cfa0d59363ca379353d3ef (diff) | |
| download | kernel-7fc4ec929cee38eae37b724d4874ad61d6e9ad4a.tar.gz kernel-7fc4ec929cee38eae37b724d4874ad61d6e9ad4a.tar.bz2 kernel-7fc4ec929cee38eae37b724d4874ad61d6e9ad4a.zip | |
move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences
Diffstat (limited to 'templates/top_bar.tpl')
| -rw-r--r-- | templates/top_bar.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/top_bar.tpl b/templates/top_bar.tpl index 5f3361f..4b9f8cf 100644 --- a/templates/top_bar.tpl +++ b/templates/top_bar.tpl @@ -1,15 +1,15 @@ {strip} <div id="bittopbar"> <ul id="nav" class="menu hor"> - {if $use_custom_top_bar and $gBitSystemPrefs.top_bar_position eq 'replace'} + {if $use_custom_top_bar and $gBitSystem->getConfig('top_bar_position') eq 'replace'} {include file="`$smarty.const.TEMP_PKG_PATH`nexus/modules/top_bar_inc.tpl"} {else} - {if $use_custom_top_bar and $gBitSystemPrefs.top_bar_position eq 'left'} + {if $use_custom_top_bar and $gBitSystem->getConfig('top_bar_position') eq 'left'} {include file="`$smarty.const.TEMP_PKG_PATH`nexus/modules/top_bar_inc.tpl"} {/if} <li class="m-home"> - <a class="head" accesskey="h" href="{$smarty.const.BIT_ROOT_URL}">{$gBitSystemPrefs.site_menu_title|default:$gBitSystemPrefs.site_title}</a> + <a class="head" accesskey="h" href="{$smarty.const.BIT_ROOT_URL}">{$gBitSystem->getConfig('site_menu_title',$gBitSystem->getConfig('site_title','My Site'))}</a> {include file="bitpackage:kernel/menu_global.tpl"} </li> @@ -40,7 +40,7 @@ </li> {/if} - {if $use_custom_top_bar and ( !$gBitSystemPrefs.top_bar_position or $gBitSystemPrefs.top_bar_position eq 'right' )} + {if $use_custom_top_bar and ( !$gBitSystem->getConfig('top_bar_position') or $gBitSystem->getConfig('top_bar_position') eq 'right' )} {include file="`$smarty.const.TEMP_PKG_PATH`nexus/modules/top_bar_inc.tpl"} {/if} {/if} |
