<commit_before>{title}{tr}Contact Us{/tr}{/title}

{if $prefs.feature_messages eq 'y' and $tiki_p_messages eq 'y'}
	{if $message}<br />
		<div class="simplebox highlight">{if $sent ne '1'}{icon _id=exclamation style="vertical-align:middle" alt="{tr}Error{/tr}"}{else}{icon _id=accept alt="{tr}OK{/tr}" style="vertical-align:middle;"}{/if} {$message}</div>
		<br />
	{/if}
	{if $sent ne '1'}
	<h2>{tr}Send a message to us{/tr}</h2>
		<form method="post" action="tiki-contact.php">
			<input type="hidden" name="to" value="{$prefs.contact_user|escape}" />
			<table class="normalnoborder">
				<tr>
					<td class="form">{tr}Priority{/tr}:</td><td class="form" style="width:99%">
						<select name="priority">
							<option value="1" {if $priority eq 1}selected="selected"{/if}>1 -{tr}Lowest{/tr}-</option>
							<option value="2" {if $priority eq 2}selected="selected"{/if}>2 -{tr}Low{/tr}-</option>
							<option value="3" {if $priority eq 3}selected="selected"{/if}>3 -{tr}Normal{/tr}-</option>
							<option value="4" {if $priority eq 4}selected="selected"{/if}>4 -{tr}High{/tr}-</option>
							<option value="5" {if $priority eq 5}selected="selected"{/if}>5 -{tr}Very High{/tr}-</option><commit_msg>[FIX] Contact form should show once contact_anon feature is on, even if tiki_p_messages is not assigned to anonymous, since the sending does work...<commit_after>{title}{tr}Contact Us{/tr}{/title}

{if $prefs.feature_messages eq 'y' and $tiki_p_messages eq 'y' or $prefs.contact_anon eq 'y'}
	{if $message}<br />
		<div class="simplebox highlight">{if $sent ne '1'}{icon _id=exclamation style="vertical-align:middle" alt="{tr}Error{/tr}"}{else}{icon _id=accept alt="{tr}OK{/tr}" style="vertical-align:middle;"}{/if} {$message}</div>
		<br />
	{/if}
	{if $sent ne '1'}
	<h2>{tr}Send a message to us{/tr}</h2>
		<form method="post" action="tiki-contact.php">
			<input type="hidden" name="to" value="{$prefs.contact_user|escape}" />
			<table class="normalnoborder">
				<tr>
					<td class="form">{tr}Priority{/tr}:</td><td class="form" style="width:99%">
						<select name="priority">
							<option value="1" {if $priority eq 1}selected="selected"{/if}>1 -{tr}Lowest{/tr}-</option>
							<option value="2" {if $priority eq 2}selected="selected"{/if}>2 -{tr}Low{/tr}-</option>
							<option value="3" {if $priority eq 3}selected="selected"{/if}>3 -{tr}Normal{/tr}-</option>
							<option value="4" {if $priority eq 4}selected="selected"{/if}>4 -{tr}High{/tr}-</option>
							<option value="5" {if $priority eq 5}selected="selected"{/if}>5 -{tr}Very High{/tr}-</option>
{'fraction_non_alphanumeric': 0.225881441301821, 'fraction_numerical': 0.016272762495156915, 'mean_word_length': 4.935632183908046, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '4121206', 'n_tokens_mistral': 1068, 'n_tokens_neox': 952, 'n_words': 201}