{* $Id: tiki-page_contribution_form.tpl 33949 2011-04-14 05:13:23Z chealer $ *}
<form method="post" action="tiki-page_contribution.php">
	<input type="hidden" name="page" id="page" value="{$page}" />
	<fieldset>
		<legend>{tr}Process{/tr}</legend>
		  <label><input type="radio" name="process" id="process0" value="0"{if $process==0} checked="checked"{/if} title="{tr}Original wiki text{/tr}" />{tr}Original wiki text{/tr}</label><br />
		  <label><input type="radio" name="process" id="process1" value="1"{if $process!=0 and $process!=2} checked="checked"{/if} title="{tr}Parsed Text (HTML){/tr}" />{tr}Parsed Text (HTML){/tr}</label><br />
		  <label><input type="radio" name="process" id="process2" value="2"{if $process==2} checked="checked"{/if} title="{tr}Output text only (No HTML tags){/tr}" />{tr}Output text only (No HTML tags){/tr}</label><br />
	</fieldset>
	<fieldset>
		<legend>{tr}Options{/tr}</legend>
		  <label><input type="checkbox" name="showstatistics" value="1"{if $showstatistics==1} checked="checked"{/if} title="{tr}Show statistics{/tr}" /> {tr}Show statistics{/tr}</label><br />
		  <label><input type="checkbox" name="showpage" value="1"{if $showpage==1} checked="checked"{/if} title="{tr}Visualize page changes{/tr}" /> {tr}Visualize page changes{/tr}</label><br />		  
		  <label><input type="checkbox" name="showpopups" value="1" {if $showpopups==1} checked="checked"{/if} title="{tr}Visualize page changes{/tr}" /> {tr}Show popups{/tr}</label><br />
		  {if $prefs.feature_source eq 'y' and $tiki_p_wiki_view_source eq 'y'}<label><input type="checkbox" name="escape" value="1" {if $escape==1} checked="checked"{/if} title="{tr}Escape HTML / Wiki syntax in page changes{/tr}" /> {tr}Escape HTML / Wiki syntax in page changes{/tr}</label><br />{/if}
	</fieldset>
	<fieldset>
		<legend>{tr}Version{/tr}</legend>
		  <table class="normal">
			<tr>
			  <th>{tr}Version{/tr}</th>
			  <th>{tr}Date{/tr}</th>
			  <th>{tr}User{/tr}</th>
			</tr>
				<tr class="odd">
					<td><label><input type="radio" name="lastversion" value="{$info.version}"{if $lastversion==$info.version or $lastversion==0} checked="checked"{/if} title="{tr}Version{/tr} {$info.version}" /> <strong>{$info.version}</strong></label></td>
					<td><strong>{$info.lastModif|tiki_short_datetime}</strong></td>
					<td><strong>{$info.user|userlink}</strong></td>
				</tr>
{cycle values="odd,even" print=false}{foreach name=hist item=element from=$history}
				<tr class="{cycle}">
					<td class="text"><label><input type="radio" name="lastversion" value="{$element.version}"{if $lastversion==$element.version} checked="checked"{/if}  title="{tr}Version{/tr} {$info.version}" /> {$element.version}</label></td>
					<td class="date">{$element.lastModif|tiki_short_datetime}</td>
					<td class="text">{$element.user|userlink}</td>
				</tr>{/foreach}
			</table>
	</fieldset>
	<div>
		<input type="submit" name="show" value="{tr}Show contributions{/tr}" />
		{button href="tiki-index.php?page=$page" _text="{tr}View page{/tr}"}
	</div>
</form>
