| 1 |
<?python |
| 2 |
page_action = 'log' |
| 3 |
?> |
| 4 |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" |
| 5 |
xmlns:py="http://genshi.edgewall.org/"><xi:include href="layout.html" /> |
| 6 |
<head> |
| 7 |
<title>Revert Old Revision</title> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<py:if test="not error"> |
| 11 |
<h1>Revert Old Revision of “<a href="${href(page.name)}">${page.title}</a>”</h1> |
| 12 |
<p> |
| 13 |
If you want to restore the old revision from |
| 14 |
<a href="${href(page.name, rev=old_revision.revision_id)}" |
| 15 |
>${format_datetime(old_revision.timestamp)}</a> enter your change |
| 16 |
note and click “Revert”. |
| 17 |
</p> |
| 18 |
<form action="" method="post"> |
| 19 |
<div class="actions"> |
| 20 |
<input type="text" name="change_note" value="${change_note}" size="50" /> |
| 21 |
<input type="submit" value="Revert" /> |
| 22 |
<input type="submit" name="cancel" value="Cancel" /> |
| 23 |
</div> |
| 24 |
</form> |
| 25 |
</py:if> |
| 26 |
<py:if test="error"> |
| 27 |
<h2>Cannot Revert</h2> |
| 28 |
<p class="error" py:if="error">${error}</p> |
| 29 |
</py:if> |
| 30 |
</body> |
| 31 |
</html> |