undo.dtml 2.22 KB
Newer Older
Jim Fulton's avatar
Jim Fulton committed
1 2
<HTML>
<HEAD>
's avatar
committed
3
<TITLE>Undo Changes</TITLE>
Jim Fulton's avatar
Jim Fulton committed
4 5
</HEAD> 
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
's avatar
committed
6
<!--#var manage_tabs-->
Jim Fulton's avatar
Jim Fulton committed
7
<P>
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65

<!--#if undoable_transactions-->

  <FORM ACTION="manage_undo_transactions" METHOD="POST">
  This application's transactional feature allows you to easily undo changes
  made to the application's settings or data. You can revert the application
  to a &quot;snapshot&quot; of it's state at a previous point in time.
  <P>
  Select one or more transactions below and then click on the &quot;Undo&quot;
  button to undo the transactions.  Note that even though a transaction
  is shown below, you will not be able to undo it if later transactions
  modified objects that were modified by the transaction.
  <table>
    <tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo "></td></tr>
    <tr><td></td></tr>
    <!--#if first_transaction-->
       <tr><td colspan=2 align=center>
       <a href="manage_UndoForm?first_transaction:int=<!--#var
	 expr="first_transaction*2-last_transaction"
	 -->&last_transaction:int=<!--#var first_transaction-->">
       Later Transactions</h>
       </td></tr>
    <!--#/if-->
    <!--#in undoable_transactions mapping-->
      <tr>
      <td valign=top><input type=checkbox name="transaction_info:list"
	  value="<!--#var id--> <!--#var pos-->"></td>
      <td valign=top>
	  <strong><!--#var desc--></strong> by <strong>
          <!--#if user-->
	    <strong><!--#if path--><!--#var path-->/<!--#/if--><!--#var user-->
          <!--#else-->
            <em>Principia</em>
          <!--#/if-->
	  </strong> on <!--#var time fmt=Mon--> <!--#var time fmt=day--> at
	  <!--#var time fmt=Time-->
      </td>
    </tr>
    <!--#/in-->
    <tr><td colspan=2 align=center>
    <!--#if expr="_.len(undoable_transactions) == batch_size"-->
       <a href="manage_UndoForm?first_transaction:int=<!--#var
	 last_transaction-->&last_transaction:int=<!--#var
	 expr="last_transaction+batch_size"-->">
       Earlier Transactions</a>
    <!--#/if-->
    </td></tr>
    <tr><td></td></tr>
    <tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo "></td></tr>
  </table>
  </FORM>

<!--#else-->

  There are no transactions that can be undone.

<!--#/if-->

Jim Fulton's avatar
Jim Fulton committed
66 67
</BODY>
</HTML>