<commit_before>{* $Id$ *}
{strip}
<div class="cbox">
	<div class="cbox-title">
	{tr}{$crumbs[$crumb]->title}{/tr}
	{help crumb=$crumbs[$crumb]}</div>

	<form action="tiki-admin.php?page=look"  id="look" name="look" onreset="return(confirm('{tr}Cancel Edit{/tr}'))"  class="admin" method="post">
		<div class="heading input_submit_container" style="text-align: right">
			<input type="submit" name="looksetup" value="{tr}Apply{/tr}" />
			<input type="reset" name="looksetupreset" value="{tr}Reset{/tr}" />
		</div>

		{if $prefs.feature_tabs eq 'y'}
			{tabs}{tr}Theme{/tr}|{tr}General Layout{/tr}|{tr}UI Effects{/tr}|{tr}Other{/tr}{/tabs}
			{cycle name=content values="1,2,3,4" print=false advance=false reset=true}
		{/if}

		<fieldset{if $prefs.feature_tabs eq 'y'} class="tabcontent" id="content{cycle name=content assign=focustab}{$focustab}"{/if}>
			{if $prefs.feature_tabs neq 'y'}
				<legend class="heading">
					<a href="#theme" onclick="flip('theme'); return false;">
						<span>{tr}Theme{/tr}</span>
					</a>
				</legend>
				<div id="theme" style="display:{if isset($smarty.session.tiki_cookie_jar.show_theme) and $smarty.session.tiki_cookie_jar.show_theme neq 'y'}none{else}block{/if};">
			{/if}
				<table class="admin">
					{if isset($thumbfile)}<tr>
						<td colspan="2">
							<div id="style_thumb_div"><img src={$thumbfile} id="style_thumb" /></div>
						</td>
					</tr>{/if}
					<tr>
						<td class="form" >
							<label for="general-theme">{tr}Theme{/tr}:</label>
						</td>
						<td width="67%">
							<select name="site_style" id="general-theme">
							{section name=ix loop=$styles}
								<option value="{$styles[ix]|escape}"{if $a_style eq $styles[ix]} selected="selected"{/if}>{$styles[ix]}</option>
							{/section}
							</select>
							{if $prefs.javascript_enabled eq 'n' or $prefs.feature_jquery eq 'n'}
								<input type="submit" name="changestyle" value="{tr}Go{/tr}" />
							{/if}
	  						{if $prefs.change_theme eq 'y' and ($user_prefs.theme neq '' and $prefs.site_style neq $user_prefs.theme) or ($prefs.style neq '' and $prefs.site_style neq $prefs.style)}
	  							{remarksbox type="warning" title="{tr}Admin{/tr}"}{tr}The "users can change theme" feature will override the theme displayed.{/tr}{/remarksbox}
							{/if}
							{if $prefs.site_style != $a_style}
								{remarksbox type="note" title="{tr}Note{/tr}}{tr}Theme not saved yet - click "Apply"{/tr}{/remarksbox}
							{/if}
						</td>
					</tr>
					<tr>
						<td class="form" >
							<label for="general-theme">{tr}Theme options{/tr}:</label>
						</td>
						<td width="67%">
							<select name="site_style_option" id="general-theme-options" {if !$style_options}disabled{/if}>
							{if !$style_options}<option value="">{tr}None{/tr}</option>{/if}
							{section name=ix loop=$style_options}
								<option value="{$style_options[ix]|escape}"{if $prefs.style_option eq $style_options[ix]} selected="selected"{/if}>{$style_options[ix]}</option>
							{/section}
							</select>
						</td>
					</tr>
					<tr>					
  						<td class="form">{tr}Reg users can change theme{/tr}:</td>
						<td>
						    <table><tr>
						    <td style="width: 20px"><input type="checkbox" name="change_theme" {if $prefs.change_theme eq 'y'}checked="checked"{/if}/></td>
						    <td>
						      <div id="select_available_styles" {if count($prefs.available_styles) > 0 and $prefs.available_styles[0] ne ''}style="display:none;"{else}style="display:block;"{/if}>
						        <a class="link" href="javascript:show('available_styles');hide('select_available_styles');">{tr}Restrict available themes{/tr}</a>
						      </div>
						      <div id="available_styles" {if count($prefs.available_styles) == 0 or $prefs.available_styles[0] eq ''}style="display:none;"{else}style="display:block;"{/if}>
						        {tr}Available styles:{/tr}<br />
						        <select name="available_styles[]" multiple="multiple" size="5">
								  <option value=''>{tr}All{/tr}</option>
						          {section name=ix loop=$styles}
						            <option value="{$styles[ix]|escape}"
						              {if $prefs.available_styles|count gt 0 and in_array($styles[ix], $prefs.available_styles)}selected="selected"{/if}>
						              {$styles[ix]}
						            </option>
						          {/section}
						        </select>
						      </div>
						    </td>
						    </tr></table>
						</td>					
					</tr>
					<tr>
						<td class="form">
							<label for="useGroupTheme">{tr}Each group can have its theme{/tr}:</label>
						</td>
						<td>
							<input type="checkbox" name="useGroupTheme" id="useGroupTheme" {if $prefs.useGroupTheme eq 'y'}checked="checked"{/if}/>
						</td>
					</tr>
					<tr>
						<td class="form">
							<label for="general-slideshows">{tr}Slideshows theme{/tr}:</label>
						</td>
						<td>
							<select name="slide_style" id="general-slideshows">
							{section name=ix loop=$slide_styles}
								<option value="{$slide_styles[ix]|escape}"{if $prefs.slide_style eq $slide_styles[ix]} selected="selected"{/if}>{$slide_styles[ix]}</option>
							{/section}
							</select>
						</td>
					</tr>
					<tr>
    	   		<td class="form">
							<label for="transition_style_ver">{tr}Use transition style sheet from version{/tr}:</label>
						</td>
						<td>
							<select name="transition_style_ver" id="transition_style_ver">
								<option value="none" {if $prefs.transition_style_ver eq 'none'}selected="selected"{/if}>{tr}Never use transition css{/tr}</option>
								<option value="css_specified_only" {if $prefs.transition_style_ver eq 'css_specified_only'}selected="selected"{/if}>{tr}Use @version:x.x specified in theme css or none if not specified{/tr}</option>
								<option value="1.9" {if $prefs.transition_style_ver eq '1.9'}selected="selected"{/if}>{tr}Use @version:x.x specified in theme css or 1.9 if not specified{/tr}</option>
								<option value="2.0" {if $prefs.transition_style_ver eq '2.0'}selected="selected"{/if}>{tr}Use @version:x.x specified in theme css or 2.0 if not specified{/tr}</option>
							</select>
						</td>
					</tr>
					<tr>
						<td class="form">
							{if $prefs.feature_help eq 'y'}
							<a href="{$prefs.helpurl}Edit+CSS" target="tikihelp" class="tikihelp" title="{tr}Edit CSS{/tr}">
							{/if}
							{tr}Edit CSS{/tr}
							{if $prefs.feature_help eq 'y'}</a>{/if}
						</td>
						<td>
							<input type="checkbox" name="feature_editcss" {if $prefs.feature_editcss eq 'y'}checked="checked"{/if}/>
							{if $prefs.feature_editcss eq 'y' and $tiki_p_create_css eq 'y'}
								{button _text="{tr}Edit CSS{/tr}" href="tiki-edit_css.php"}
							{/if}
						</td>
					</tr>
 	     	<tr>
					<td colspan="2"><hr/></td>
				</tr>        
				<tr><commit_msg>[MOD] Add 3.0 to transition css options<commit_after>{* $Id$ *}
{strip}
<div class="cbox">
	<div class="cbox-title">
	{tr}{$crumbs[$crumb]->title}{/tr}
	{help crumb=$crumbs[$crumb]}</div>

	<form action="tiki-admin.php?page=look"  id="look" name="look" onreset="return(confirm('{tr}Cancel Edit{/tr}'))"  class="admin" method="post">
		<div class="heading input_submit_container" style="text-align: right">
			<input type="submit" name="looksetup" value="{tr}Apply{/tr}" />
			<input type="reset" name="looksetupreset" value="{tr}Reset{/tr}" />
		</div>

		{if $prefs.feature_tabs eq 'y'}
			{tabs}{tr}Theme{/tr}|{tr}General Layout{/tr}|{tr}UI Effects{/tr}|{tr}Other{/tr}{/tabs}
			{cycle name=content values="1,2,3,4" print=false advance=false reset=true}
		{/if}

		<fieldset{if $prefs.feature_tabs eq 'y'} class="tabcontent" id="content{cycle name=content assign=focustab}{$focustab}"{/if}>
			{if $prefs.feature_tabs neq 'y'}
				<legend class="heading">
					<a href="#theme" onclick="flip('theme'); return false;">
						<span>{tr}Theme{/tr}</span>
					</a>
				</legend>
				<div id="theme" style="display:{if isset($smarty.session.tiki_cookie_jar.show_theme) and $smarty.session.tiki_cookie_jar.show_theme neq 'y'}none{else}block{/if};">
			{/if}
				<table class="admin">
					{if isset($thumbfile)}<tr>
						<td colspan="2">
							<div id="style_thumb_div"><img src={$thumbfile} id="style_thumb" /></div>
						</td>
					</tr>{/if}
					<tr>
						<td class="form" >
							<label for="general-theme">{tr}Theme{/tr}:</label>
						</td>
						<td width="67%">
							<select name="site_style" id="general-theme">
							{section name=ix loop=$styles}
								<option value="{$styles[ix]|escape}"{if $a_style eq $styles[ix]} selected="selected"{/if}>{$styles[ix]}</option>
							{/section}
							</select>
							{if $prefs.javascript_enabled eq 'n' or $prefs.feature_jquery eq 'n'}
								<input type="submit" name="changestyle" value="{tr}Go{/tr}" />
							{/if}
	  						{if $prefs.change_theme eq 'y' and ($user_prefs.theme neq '' and $prefs.site_style neq $user_prefs.theme) or ($prefs.style neq '' and $prefs.site_style neq $prefs.style)}
	  							{remarksbox type="warning" title="{tr}Admin{/tr}"}{tr}The "users can change theme" feature will override the theme displayed.{/tr}{/remarksbox}
							{/if}
							{if $prefs.site_style != $a_style}
								{remarksbox type="note" title="{tr}Note{/tr}}{tr}Theme not saved yet - click "Apply"{/tr}{/remarksbox}
							{/if}
						</td>
					</tr>
					<tr>
						<td class="form" >
							<label for="general-theme">{tr}Theme options{/tr}:</label>
						</td>
						<td width="67%">
							<select name="site_style_option" id="general-theme-options" {if !$style_options}disabled{/if}>
							{if !$style_options}<option value="">{tr}None{/tr}</option>{/if}
							{section name=ix loop=$style_options}
								<option value="{$style_options[ix]|escape}"{if $prefs.style_option eq $style_options[ix]} selected="selected"{/if}>{$style_options[ix]}</option>
							{/section}
							</select>
						</td>
					</tr>
					<tr>					
  						<td class="form">{tr}Reg users can change theme{/tr}:</td>
						<td>
						    <table><tr>
						    <td style="width: 20px"><input type="checkbox" name="change_theme" {if $prefs.change_theme eq 'y'}checked="checked"{/if}/></td>
						    <td>
						      <div id="select_available_styles" {if count($prefs.available_styles) > 0 and $prefs.available_styles[0] ne ''}style="display:none;"{else}style="display:block;"{/if}>
						        <a class="link" href="javascript:show('available_styles');hide('select_available_styles');">{tr}Restrict available themes{/tr}</a>
						      </div>
						      <div id="available_styles" {if count($prefs.available_styles) == 0 or $prefs.available_styles[0] eq ''}style="display:none;"{else}style="display:block;"{/if}>
						        {tr}Available styles:{/tr}<br />
						        <select name="available_styles[]" multiple="multiple" size="5">
								  <option value=''>{tr}All{/tr}</option>
						          {section name=ix loop=$styles}
						            <option value="{$styles[ix]|escape}"
						              {if $prefs.available_styles|count gt 0 and in_array($styles[ix], $prefs.available_styles)}selected="selected"{/if}>
						              {$styles[ix]}
						            </option>
						          {/section}
						        </select>
						      </div>
						    </td>
						    </tr></table>
						</td>					
					</tr>
					<tr>
						<td class="form">
							<label for="useGroupTheme">{tr}Each group can have its theme{/tr}:</label>
						</td>
						<td>
							<input type="checkbox" name="useGroupTheme" id="useGroupTheme" {if $prefs.useGroupTheme eq 'y'}checked="checked"{/if}/>
						</td>
					</tr>
					<tr>
						<td class="form">
							<label for="general-slideshows">{tr}Slideshows theme{/tr}:</label>
						</td>
						<td>
							<select name="slide_style" id="general-slideshows">
							{section name=ix loop=$slide_styles}
								<option value="{$slide_styles[ix]|escape}"{if $prefs.slide_style eq $slide_styles[ix]} selected="selected"{/if}>{$slide_styles[ix]}</option>
							{/section}
							</select>
						</td>
					</tr>
					<tr>
    	   		<td class="form">
							<label for="transition_style_ver">{tr}Use transition style sheet from version{/tr}:</label>
						</td>
						<td>
							<select name="transition_style_ver" id="transition_style_ver">
								<option value="none" {if $prefs.transition_style_ver eq 'none'}selected="selected"{/if}>{tr}Never use transition css{/tr}</option>
								<option value="css_specified_only" {if $prefs.transition_style_ver eq 'css_specified_only'}selected="selected"{/if}>{tr}Use @version:x.x specified in theme css or none if not specified{/tr}</option>
								<option value="1.9" {if $prefs.transition_style_ver eq '1.9'}selected="selected"{/if}>{tr}Use @version:x.x specified in theme css or 1.9 if not specified{/tr}</option>
								<option value="2.0" {if $prefs.transition_style_ver eq '2.0'}selected="selected"{/if}>{tr}Use @version:x.x specified in theme css or 2.0 if not specified{/tr}</option>
								<option value="3.0" {if $prefs.transition_style_ver eq '3.0'}selected="selected"{/if}>{tr}Use @version:x.x specified in theme css or 3.0 if not specified{/tr}</option>
							</select>
						</td>
					</tr>
					<tr>
						<td class="form">
							{if $prefs.feature_help eq 'y'}
							<a href="{$prefs.helpurl}Edit+CSS" target="tikihelp" class="tikihelp" title="{tr}Edit CSS{/tr}">
							{/if}
							{tr}Edit CSS{/tr}
							{if $prefs.feature_help eq 'y'}</a>{/if}
						</td>
						<td>
							<input type="checkbox" name="feature_editcss" {if $prefs.feature_editcss eq 'y'}checked="checked"{/if}/>
							{if $prefs.feature_editcss eq 'y' and $tiki_p_create_css eq 'y'}
								{button _text="{tr}Edit CSS{/tr}" href="tiki-edit_css.php"}
							{/if}
						</td>
					</tr>
 	     	<tr>
					<td colspan="2"><hr/></td>
				</tr>        
				<tr>
{'fraction_non_alphanumeric': 0.1946620249492312, 'fraction_numerical': 0.004931824775166811, 'mean_word_length': 3.168379685610641, 'pattern_counts': {'":': 0, '<': 271, '<?xml version=': 0, '>': 275, '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': '959499', 'n_tokens_mistral': 6225, 'n_tokens_neox': 4812, 'n_words': 907}