isLanguageRTL()}dir="rtl"{/if}> {if $gBitThemes->mDisplayMode} {assign var=displayClass value=$gBitThemes->mDisplayMode|cat:"mode"|cat:" "} {/if} {if $gQueryUser->mUserId} {assign var=userClass value="user"|cat:$gQueryUser->mUserId|cat:" "} {/if} {if $gContent->mContentId} {assign var=contentClass value="cid"|cat:$gContent->mContentId} {/if} {strip} {$browserTitle} - {$gBitSystem->getConfig('site_title')} {**** if the theme has a header, it goes first ****} {if file_exists("`$smarty.const.CONFIG_THEME_PATH`theme_head_inc.tpl")} {include file="`$smarty.const.CONFIG_THEME_PATH`theme_head_inc.tpl"} {/if} {**** get custom head files from individual packages ****} {foreach from=$gBitThemes->mAuxFiles.templates.html_head_inc item=file} {include file=$file} {/foreach} {if $baseHref} {/if} mOnload} onload="{foreach from=$gBitSystem->mOnload item=loadString}{$loadString}{/foreach}" {/if} {if $gBitSystem->mOnunload} onunload="{foreach from=$gBitSystem->mOnunload item=loadString}{$loadString}{/foreach}" {/if} id="{$gBitSystem->getActivePackage()}" class="{$displayClass}{$userClass}{$contentClass}"> {if $gBitSystem->mDebugHtml}
Go to content {$gBitSystem->mDebugHtml}
{/if} {if $gBitSystem->isFeatureActive( 'bidirectional_text' )}
{/if} {if $gBitThemes->mDisplayMode != 'edit'} {if $gBitSystem->isFeatureActive( 'site_left_column' ) && !$gHideModules && $gBitThemes->hasColumnModules('l')} {assign var=leftCol value=$gBitThemes->fetchLayoutColumn('l')} {/if} {if $gBitSystem->isFeatureActive( 'site_right_column' ) && !$gHideModules && $gBitThemes->hasColumnModules('r')} {assign var=rightCol value=$gBitThemes->fetchLayoutColumn('r')} {/if} {/if} {if $leftCol && $rightCol} {assign var=extraColumns value=2} {elseif !empty($leftCol)} {assign var=extraColumns value=1} {elseif !empty($rightCol)} {assign var=extraColumns value=1} {else} {assign var=extraColumns value=0}{/if} {if $gBitSystem->isFeatureActive( 'site_top_column' ) && !$gHideModules}
{$gBitThemes->displayLayoutColumn('t')} {if $gBitSystem->getConfig('site_notice')}
{$gBitSystem->getConfig('site_notice')}
{/if}
{/if}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='row' serviceHash=$gContent->mInfo} {**** Theme Layout Modules : NAVIGATION ****} {if $leftCol} {* needed by output filters. *} {/if}
{**** Theme Layout Modules : CENTER ****} {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='wrapper' serviceHash=$gContent->mInfo} {include file="bitpackage:liberty/structure_display.tpl"} {include file=$mid}
{**** Theme Layout Modules : EXTRA ****} {if $rightCol} {* needed by output filters. *} {/if}
{if $gBitSystem->isFeatureActive( 'bidirectional_text' )}
{/if} {include file="bitpackage:kernel/footer.tpl"} {/strip}