<commit_before><div class="prefs">

{if $msg}
<p class="mesgSuccess">{$msg.value}</p>
{/if}

{if $prefs neq null}
<form name="form" id="form" action="{copixurl dest="|setprefs"}" method="POST" enctype="multipart/form-data">
	<table class="prefs" border="0" width="100%" cellspacing="5">
	{foreach from=$prefs item=module}
  
    {if $module.name}
		<tr><td colspan="2">
		<h2 class="prefs" id="{$module.code}">{$module.name}</h2>
		</td></tr>
    {/if}
    
		{foreach from=$module.form item=form}
			{if $form.type == "titre"}
				<tr><td colspan="2">
				<h4 class="prefs">{$form.text}</h4>
				<i>{$form.expl}</i>
				</td></tr>
			{elseif $form.type == "separator"}
				<tr><td colspan="2"><hr /></td></tr>
			{elseif $form.type == "password"}
				<tr><th>{$form.text}</th><td><input {if $form.error}class="error" {/if}type="password" name="{$module.code}_{$form.code}" value="{$form.value}" />
				{if $form.error}<br /><div class="errormsg">{$form.error}</div>{/if}
				</td></tr>
			{elseif $form.type == "string"}
				<tr><th>{$form.text}</th><td><input {if $form.error}class="error" {/if}type="text" name="{$module.code}_{$form.code}" value="{$form.value}" />
				{if $form.error}<br /><div class="errormsg">{$form.error}</div>{/if}
				</td></tr>
			{elseif $form.type == "checkbox"}
				<tr><th><!-- {$form.text} --></th><td>
				<div style="maring: 0px; padding: 0px;"{if $form.error} class="error"{/if}>
				<input type="checkbox" name="{$module.code}_{$form.code}" id="{$module.code}_{$form.code}" value="1" {if $form.value}checked="checked" {/if} />
				<label for="{$module.code}_{$form.code}"><b>{$form.text}</b></label>
				</div>
				{if $form.error}<div class="errormsg">{$form.error}</div>{/if}
				</td></tr>
			{elseif $form.type == "radio"}
				<tr><th>{$form.text}</th><td>
				<div style="maring: 0px; padding: 0px;"{if $form.error} class="error"{/if}>
				{foreach from=$form.choices key=choice_key item=choice_val}
				<input type="radio" name="{$module.code}_{$form.code}" id="{$module.code}_{$form.code}" value="{$choice_key}" {if $choice_key == $form.value}checked="checked"{/if} /><label for="{$module.code}_{$form.code}">{$choice_val}</label><br /><commit_msg>[FIX] Préférences : Mot de passe non rempli automatiquement par le navigateur<commit_after><div class="prefs">

{if $msg}
<p class="mesgSuccess">{$msg.value}</p>
{/if}

{if $prefs neq null}
<form name="form" id="form" action="{copixurl dest="|setprefs"}" method="POST" enctype="multipart/form-data">
	<table class="prefs" border="0" width="100%" cellspacing="5">
	{foreach from=$prefs item=module}
  
    {if $module.name}
		<tr><td colspan="2">
		<h2 class="prefs" id="{$module.code}">{$module.name}</h2>
		</td></tr>
    {/if}
    
		{foreach from=$module.form item=form}
			{if $form.type == "titre"}
				<tr><td colspan="2">
				<h4 class="prefs">{$form.text}</h4>
				<i>{$form.expl}</i>
				</td></tr>
			{elseif $form.type == "separator"}
				<tr><td colspan="2"><hr /></td></tr>
			{elseif $form.type == "password"}
				<tr><th>{$form.text}</th><td><input {if $form.error}class="error" {/if}type="password" name="{$module.code}_{$form.code}" value="{$form.value}" autocomplete="off" />
				{if $form.error}<br /><div class="errormsg">{$form.error}</div>{/if}
				</td></tr>
			{elseif $form.type == "string"}
				<tr><th>{$form.text}</th><td><input {if $form.error}class="error" {/if}type="text" name="{$module.code}_{$form.code}" value="{$form.value}" />
				{if $form.error}<br /><div class="errormsg">{$form.error}</div>{/if}
				</td></tr>
			{elseif $form.type == "checkbox"}
				<tr><th><!-- {$form.text} --></th><td>
				<div style="maring: 0px; padding: 0px;"{if $form.error} class="error"{/if}>
				<input type="checkbox" name="{$module.code}_{$form.code}" id="{$module.code}_{$form.code}" value="1" {if $form.value}checked="checked" {/if} />
				<label for="{$module.code}_{$form.code}"><b>{$form.text}</b></label>
				</div>
				{if $form.error}<div class="errormsg">{$form.error}</div>{/if}
				</td></tr>
			{elseif $form.type == "radio"}
				<tr><th>{$form.text}</th><td>
				<div style="maring: 0px; padding: 0px;"{if $form.error} class="error"{/if}>
				{foreach from=$form.choices key=choice_key item=choice_val}
				<input type="radio" name="{$module.code}_{$form.code}" id="{$module.code}_{$form.code}" value="{$choice_key}" {if $choice_key == $form.value}checked="checked"{/if} /><label for="{$module.code}_{$form.code}">{$choice_val}</label><br />
{'fraction_non_alphanumeric': 0.27343924815394943, 'fraction_numerical': 0.00760796598791676, 'mean_word_length': 4.797665369649805, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, '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': '375116', 'n_tokens_mistral': 1915, 'n_tokens_neox': 1715, 'n_words': 279}