<commit_before>{* $Id$ *}
{* site identity options: logo, site title and subtitle, banner ad, custom code *}
	{* No site logo but custom code *}
	{if $prefs.feature_sitemycode eq 'y' && ($prefs.sitemycode_publish eq 'y' or $tiki_p_admin eq 'y')}
		{if $prefs.feature_sitelogo neq 'y' &&  $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
			<div id="sitead" class="floatright">
				{eval var=$prefs.sitead}
			</div>
			<div id="customcodewith_ad">
				{eval var=$prefs.sitemycode}{* here will be parsed the 400px-wide custom site header code *}
			</div>
		{else}
			<div id="customcode">
				{eval var=$prefs.sitemycode}
			</div>
		{/if}
	{/if}
	{* Site logo left or right, and sitead or not. *}
	{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align neq 'center'}
		<div class="clearfix" id="sioptions">
			{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align eq 'left'}
				{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
					<div id="sitead" class="floatright">{eval var=$prefs.sitead}</div>
				{/if}
				<div id="sitelogo" class="floatleft"{if $prefs.sitelogo_bgcolor or $prefs.sitelogo_bgstyle ne ''} style="background-color: {$prefs.sitelogo_bgcolor}; {$prefs.sitelogo_bgstyle};"{/if}>
					{if $prefs.sitelogo_src}<a href="./" title="{tr}{$prefs.sitelogo_title}{/tr}"><img src="{$prefs.sitelogo_src}" alt="{tr}{$prefs.sitelogo_alt}{/tr}" /></a>{/if}
				</div>
				{if $prefs.sitetitle or $prefs.sitesubtitle}
					<div id="sitetitles" class="floatleft">
						<div id="sitetitle"><a href="index.php">{tr}{$prefs.sitetitle}{/tr}</a></div>
						<div id="sitesubtitle">{tr}{$prefs.sitesubtitle}{/tr}</div>
					</div>
				{/if}
			{/if}
			{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align eq 'right'}
				{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
					<div id="sitead" class="floatleft">{eval var=$prefs.sitead}</div>
				{/if}
				{if $prefs.sitetitle or $prefs.sitesubtitle}
					<div id="sitetitles" class="floatright">
						<div id="sitetitle"><a href="index.php">{tr}{$prefs.sitetitle}{/tr}</a></div>
						<div id="sitesubtitle">{tr}{$prefs.sitesubtitle}{/tr}</div>
					</div>
				{/if}
				<div id="sitelogo" class="floatright"{if $prefs.sitelogo_bgcolor or $prefs.sitelogo_bgstyle ne ''} style="background-color: {$prefs.sitelogo_bgcolor}; {$prefs.sitelogo_bgstyle};"{/if}>
					{if $prefs.sitelogo_src}
						<a href="./" title="{tr}{$prefs.sitelogo_title}{/tr}"><img src="{$prefs.sitelogo_src}" alt="{tr}{$prefs.sitelogo_alt}{/tr}" /></a>
					{/if}
				</div>
			{/if}
		</div>
	{/if}

{* Site logo centered, and sitead: to work in small vertical space, ad (halfbanner) is floated left; a second bannerzone is floated right. *}
	{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align eq 'center'}
		<div class="clearfix" id="sioptionscentered">
			{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
				<div class="floatright"><div id="bannertopright">{banner zone='topright'}</div></div>
			{/if}
			{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
				<div id="sitead" class="floatleft" {*style="width: 300px"*}>{eval var=$prefs.sitead}</div>
			{/if}
			<div id="sitelogo"{if $prefs.sitelogo_bgcolor or $prefs.sitelogo_bgstyle ne ''} style="background-color: {$prefs.sitelogo_bgcolor}; {$prefs.sitelogo_bgstyle};"{/if}>
				{if $prefs.sitelogo_src}<a href="./" title="{tr}{$prefs.sitelogo_title}{/tr}"><img src="{$prefs.sitelogo_src}" alt="{tr}{$prefs.sitelogo_alt}{/tr}" /></a>{/if}
			</div>
			{if $prefs.sitetitle or $prefs.sitesubtitle}
				<div id="sitetitles">
					<div id="sitetitle"><a href="index.php">{tr}{$prefs.sitetitle}{/tr}</a></div>
					<div id="sitesubtitle">{tr}{$prefs.sitesubtitle}{/tr}</div>
				</div>
			{/if}
		</div>
	{/if}

{* No sitelogo, no custom code but a sitead: ad is centered. *}
	{if $prefs.feature_sitelogo eq 'n' and !($prefs.feature_sitemycode eq 'y' && ($prefs.sitemycode_publish eq 'y' or $tiki_p_admin eq 'y'))}
		{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}<commit_msg>[ROLLBACK] Apparently, it only pushed it back.<commit_after>{* $Id$ *}
{* site identity options: logo, site title and subtitle, banner ad, custom code *}
	{* No site logo but custom code *}
	{if $prefs.feature_sitemycode eq 'y' && ($prefs.sitemycode_publish eq 'y' or $tiki_p_admin eq 'y')}
		{if $prefs.feature_sitelogo neq 'y' &&  $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
			<div id="sitead" class="floatright">
				{eval var=$prefs.sitead}
			</div>
			<div id="customcodewith_ad">
				{eval var=$prefs.sitemycode}{* here will be parsed the 400px-wide custom site header code *}
			</div>
		{else}
			<div id="customcode">
				{eval var=$prefs.sitemycode}
			</div>
		{/if}
	{/if}
	{* Site logo left or right, and sitead or not. *}
	{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align neq 'center'}
		<div class="clearfix" id="sioptions">
			{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align eq 'left'}
				{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
					<div id="sitead" class="floatright">{eval var=$prefs.sitead}</div>
				{/if}
				<div id="sitelogo" class="floatleft"{if $prefs.sitelogo_bgcolor or $prefs.sitelogo_bgstyle ne ''} style="background-color: {$prefs.sitelogo_bgcolor}; {$prefs.sitelogo_bgstyle};"{/if}>
					{if $prefs.sitelogo_src}<a href="./" title="{tr}{$prefs.sitelogo_title}{/tr}"><img src="{$prefs.sitelogo_src}" alt="{tr}{$prefs.sitelogo_alt}{/tr}" /></a>{/if}
				</div>
				{if $prefs.sitetitle or $prefs.sitesubtitle}
					<div id="sitetitles" class="floatleft">
						<div id="sitetitle"><a href="index.php">{tr}{$prefs.sitetitle}{/tr}</a></div>
						<div id="sitesubtitle">{tr}{$prefs.sitesubtitle}{/tr}</div>
					</div>
				{/if}
			{/if}
			{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align eq 'right'}
				{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
					<div id="sitead" class="floatleft">{eval var=$prefs.sitead}</div>
				{/if}
				{if $prefs.sitetitle or $prefs.sitesubtitle}
					<div id="sitetitles" class="floatright">
						<div id="sitetitle"><a href="index.php">{tr}{$prefs.sitetitle}{/tr}</a></div>
						<div id="sitesubtitle">{tr}{$prefs.sitesubtitle}{/tr}</div>
					</div>
				{/if}
				<div id="sitelogo" class="floatright"{if $prefs.sitelogo_bgcolor or $prefs.sitelogo_bgstyle ne ''} style="background-color: {$prefs.sitelogo_bgcolor}; {$prefs.sitelogo_bgstyle};"{/if}>
					{if $prefs.sitelogo_src}<a href="./" title="{tr}{$prefs.sitelogo_title}{/tr}"><img src="{$prefs.sitelogo_src}" alt="{tr}{$prefs.sitelogo_alt}{/tr}" /></a>{/if}
				</div>
			{/if}
		</div>
	{/if}

{* Site logo centered, and sitead: to work in small vertical space, ad (halfbanner) is floated left; a second bannerzone is floated right. *}
	{if $prefs.feature_sitelogo eq 'y' and $prefs.sitelogo_align eq 'center'}
		<div class="clearfix" id="sioptionscentered">
			{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
				<div class="floatright"><div id="bannertopright">{banner zone='topright'}</div></div>
			{/if}
			{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
				<div id="sitead" class="floatleft" {*style="width: 300px"*}>{eval var=$prefs.sitead}</div>
			{/if}
			<div id="sitelogo"{if $prefs.sitelogo_bgcolor or $prefs.sitelogo_bgstyle ne ''} style="background-color: {$prefs.sitelogo_bgcolor}; {$prefs.sitelogo_bgstyle};"{/if}>
				{if $prefs.sitelogo_src}<a href="./" title="{tr}{$prefs.sitelogo_title}{/tr}"><img src="{$prefs.sitelogo_src}" alt="{tr}{$prefs.sitelogo_alt}{/tr}" /></a>{/if}
			</div>
			{if $prefs.sitetitle or $prefs.sitesubtitle}
				<div id="sitetitles">
					<div id="sitetitle"><a href="index.php">{tr}{$prefs.sitetitle}{/tr}</a></div>
					<div id="sitesubtitle">{tr}{$prefs.sitesubtitle}{/tr}</div>
				</div>
			{/if}
		</div>
	{/if}

{* No sitelogo, no custom code but a sitead: ad is centered. *}
	{if $prefs.feature_sitelogo eq 'n' and !($prefs.feature_sitemycode eq 'y' && ($prefs.sitemycode_publish eq 'y' or $tiki_p_admin eq 'y'))}
		{if $prefs.feature_banners eq 'y' && $prefs.feature_sitead eq 'y' && ($prefs.sitead_publish eq 'y' or $tiki_p_admin eq 'y')}
{'fraction_non_alphanumeric': 0.2017997750281215, 'fraction_numerical': 0.0013498312710911137, 'mean_word_length': 4.616550852811118, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5310445', 'n_tokens_mistral': 4030, 'n_tokens_neox': 3629, 'n_words': 735}