tiki-page_contribution_form.tpl 2.87 KB
Newer Older
1
{* $Id$ *}
2
<form method="post" action="tiki-page_contribution.php">
3
	<input type="hidden" name="page" id="page" value="{$page}">
4 5
	<fieldset>
		<legend>{tr}Process{/tr}</legend>
6 7 8
		<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>
9 10 11
	</fieldset>
	<fieldset>
		<legend>{tr}Options{/tr}</legend>
12 13 14 15
		<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}
16 17 18
	</fieldset>
	<fieldset>
		<legend>{tr}Version{/tr}</legend>
19
		<div class="table-responsive">
20
			<table class="table">
21 22 23 24 25
				<tr>
					<th>{tr}Version{/tr}</th>
					<th>{tr}Date{/tr}</th>
					<th>{tr}User{/tr}</th>
				</tr>
26
				<tr class="odd">
27
					<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>
28 29
					<td><strong>{$info.lastModif|tiki_short_datetime}</strong></td>
					<td><strong>{$info.user|userlink}</strong></td>
30
				</tr>
31 32
{foreach name=hist item=element from=$history}
				<tr>
33
					<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>
34 35
					<td class="date">{$element.lastModif|tiki_short_datetime}</td>
					<td class="text">{$element.user|userlink}</td>
36
				</tr>{/foreach}
37 38
			</table>
		</div>
39 40
	</fieldset>
	<div>
41
		<input type="submit" class="btn btn-default btn-sm" name="show" value="{tr}Show contributions{/tr}">
42 43 44
		{button href="tiki-index.php?page=$page" _text="{tr}View page{/tr}"}
	</div>
</form>