1<h2>{tr}User_versions_for:{/tr} {$ruser}</h2>
2{if $preview}
3	<h2>{tr}Version:{/tr} {$version}</h2>
4	<div class="wikitext">{$preview.data}</div>
5	<br>
6{/if}
7<br>
8
9<div align="center">
10	<table border="1" cellpadding="0" cellspacing="0">
11		<tr>
12			<td id="heading">{tr}Date{/tr}</td>
13			<td id="heading">{tr}Page{/tr}</td>
14			<td id="heading">{tr}Version{/tr}</td>
15			<td id="heading">{tr}Ip{/tr}</td>
16			<td id="heading">{tr}Comment{/tr}</td>
17			<td id="heading">{tr}Action{/tr}</td>
18		</tr>
19
20		{section name=hist loop=$history}
21			<tr>
22				<td id="{cycle advance=false}">&nbsp;{$history[hist].lastModif|tiki_long_datetime}&nbsp;</td>
23				<td id="{cycle advance=false}">&nbsp;<a href="tiki-index.php?page={$history[hist].pageName|escape:"url"}">{$history[hist].pageName}</a>&nbsp;</td>
24				<td id="{cycle advance=false}">&nbsp;{$history[hist].version}&nbsp;</td>
25				<td id="{cycle advance=false}">&nbsp;{$history[hist].ip}&nbsp;</td>
26				<td id="{cycle advance=false}">&nbsp;{$history[hist].comment}&nbsp;</td>
27				<td id="{cycle}">&nbsp;<a href="tiki-userversions.php?ruser={$ruser}&amp;page={$history[hist].pageName|escape:"url"}&amp;preview=1&amp;version={$history[hist].version}">{tr}View{/tr}</a>&nbsp;</td>
28			</tr>
29		{sectionelse}
30			{norecords _colspan=6}
31		{/section}
32	</table>
33</div>
34