From: oes <oes@users.sourceforge.net>
Date: Tue, 21 May 2002 19:14:10 +0000 (+0000)
Subject: Added button style and jumptarget "cancel" link
X-Git-Tag: v_3_0_branchpoint~34
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/static/@default-cgi@toggle?a=commitdiff_plain;h=60280cbce7102b9fa793bf1dfdcc0267c56ba32e;p=privoxy.git

Added button style and jumptarget "cancel" link
---

diff --git a/templates/edit-actions-url-form b/templates/edit-actions-url-form
index 6efed8e6..1719c194 100644
--- a/templates/edit-actions-url-form
+++ b/templates/edit-actions-url-form
@@ -1,6 +1,6 @@
 ##############################################################################
 #
-# File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-url-form,v $
+# File        :  $Source: /cvsroot/ijbswa//current/templates/edit-actions-url-form,v $
 #
 # Purpose     :  Template used to edit a URL pattern in an actions file.
 #
@@ -31,6 +31,9 @@
 #
 # Revisions   :
 #    $Log: edit-actions-url-form,v $
+#    Revision 1.13  2002/04/10 13:32:53  oes
+#    Made templates modular
+#
 #    Revision 1.12  2002/04/08 17:08:14  oes
 #    Cosmetic: make status in title lowercase
 #
@@ -94,6 +97,7 @@
 # s - section
 # p - pattern
 # u - old value of URL
+# jumptarget - append to eal URL to jump to relevant section
 #
 #############################################################################
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
@@ -158,7 +162,7 @@ function validate(text)
             <input type="text" name="u" value="@u@" size="78"><br>
             <input type="submit" value="Submit"> &nbsp;
             <input type="reset" value="Reset"> &nbsp;
-            <a href="edit-actions-list?f=@f@">Cancel</a>
+            <a class="cmd" href="edit-actions-list?f=@f@@jumptarget@">Cancel</a>
           </p>
         </form>
       </td>