add_confirm.tmpl
changeset 57 31271426f879
parent 43 4d194fce51e1
--- a/add_confirm.tmpl	Mon Aug 23 23:31:38 2004 -0400
+++ b/add_confirm.tmpl	Sat Dec 27 20:23:39 2008 -0500
@@ -3,12 +3,14 @@
   <TMPL_INCLUDE NAME="headers.tmpl">
   <body>
     <h1><TMPL_VAR remote_user>'s Confirmation</h1>
-    <form name="confirmation" method="post" action="add_result.py">
+    <form name="confirmation" method="post" action="?action=add">
       <fieldset>
         <legend>Bookmark</legend>
+	<input type="hidden" name="action" value="add"/>
 	<input type="hidden" name="id" value="<TMPL_VAR id>"/>
 	<input type="hidden" name="name" value="<TMPL_VAR name>"/>
 	<input type="hidden" name="url" value="<TMPL_VAR url>"/>
+	<input type="hidden" name="desc" value="<TMPL_VAR desc>"/>
 	<input type="hidden" name="newkw"
 	  value="<TMPL_LOOP Keywords><TMPL_VAR keyword>,</TMPL_LOOP>"/>
 	<strong><a href="<TMPL_VAR url>"><TMPL_VAR name></a></strong>
@@ -18,15 +20,8 @@
 	    <TMPL_VAR keyword>;
 	  </TMPL_LOOP>
 	</p>
-	<TMPL_IF confirm_delete>
-	  <button name="action" type="submit"
-	        value="<TMPL_VAR action>">Delete</button>
-	</TMPL_IF>
-	<TMPL_IF confirm_update>
-	  <button name="action" type="submit"
-	        value="<TMPL_VAR action>">Update</button>
-	</TMPL_IF>
-	<button name="action" type="submit" value="cancel">Cancel</button>
+	<button name="step" type="submit" value="confirm"><TMPL_VAR confirmation></button>
+	<button name="step" type="submit" value="cancel">Cancel</button>
     </form>
   </body>
 </html>