6 <th colspan="2">differences between {$smarty.request.r1} and {$smarty.request.r2}</th>
8 {foreach from=$diff item=mydiff}
10 <td>[ {$smarty.request.r1} - {$mydiff[0]} ]</td>
11 <td>[ {$smarty.request.r2} - {$mydiff[2]} ]</td>
14 <td>{diff block=$mydiff[3] op=$mydiff[1]}</td>
15 <td>{diff block=$mydiff[4] op=$mydiff[1]}</td>
24 <script type="text/javascript">
26 function restore( myrev ) {
27 if (confirm ("You are about to restore revision " + myrev + ". Do you want to proceed?")) {
28 document.operations.rev.value = myrev;
29 document.operations.submit();
37 <form method="post" action="{$post}" name="operations">
38 <input type="hidden" name="dir" value="{$smarty.request.dir}" />
39 <input type="hidden" name="target" value="{$smarty.request.target}" />
40 <input type="hidden" name="rev" value=""/>
41 <input type="hidden" name="action" value="restore" />
46 <th>{$msg_version}</th>
48 <th>{$msg_author}</th>
50 <th>{$msg_actions}</th>
52 {counter start=0 assign=cnt print=0}
53 {foreach from=$entries item=entry}
54 <tr{if $cnt % 2} class="odd"{/if}>
56 <td><small>{$entry[1]}</small></td>
60 {foreach from=$entry[4] item=myaction}
61 {a lnk=$myaction class="action"}