1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-url-form,v $
5 # Purpose : Template used to edit a URL pattern in an actions file.
8 # Copyright : Written by and Copyright (C) 2001 the SourceForge
9 # Privoxy team. http://www.privoxy.org/
11 # Original Author: Copyright (C) 2001 Jonathan Foster
12 # http://www.jon-foster.co.uk/
14 # This program is free software; you can redistribute it
15 # and/or modify it under the terms of the GNU General
16 # Public License as published by the Free Software
17 # Foundation; either version 2 of the License, or (at
18 # your option) any later version.
20 # This program is distributed in the hope that it will
21 # be useful, but WITHOUT ANY WARRANTY; without even the
22 # implied warranty of MERCHANTABILITY or FITNESS FOR A
23 # PARTICULAR PURPOSE. See the GNU General Public
24 # License for more details.
26 # The GNU General Public License should be included with
27 # this file. If not, you can view it at
28 # http://www.gnu.org/copyleft/gpl.html
29 # or write to the Free Software Foundation, Inc., 59
30 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32 ##############################################################################
36 # This file currently produces valid HTML 4.01 Strict.
38 # If you change it, please save the generated page from your web browser
39 # and then upload it to http://validator.w3.org/ for checking.
41 #############################################################################
43 # Available variables include:
49 # u - old value of URL
50 # jumptarget - append to eal URL to jump to relevant section
52 #############################################################################
53 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
57 <meta http-equiv="Content-Style-Type" content="text/css">
58 <meta http-equiv="Content-Script-Type" content="text/javascript">
59 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
60 <meta name="robots" content="noindex,nofollow">
61 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
62 <link rel="shortcut icon" href="@default-cgi@favicon.ico">
64 <title>Privoxy@@my-hostname@: Edit URL Pattern</title>
66 <script type="text/javascript">
68 function validate(text)
72 alert("You need to type a pattern in order to continue!");
84 <table cellpadding="20" cellspacing="10" border="0" width="100%">
93 <!-- @if-unstable-start -->
94 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
98 #include mod-unstable-warning
102 <!-- if-unstable-end@ -->
106 <h2>Edit URL or TAG Pattern</h2>
107 <form method="GET" action="edit-actions-url"
108 onSubmit="return validate(u.value);">
110 <input type="hidden" name="f" value="@f@">
111 <input type="hidden" name="v" value="@v@">
112 <input type="hidden" name="p" value="@p@">
113 <input type="text" name="u" value="@u@" size="78" class="pattern"><br>
114 <input type="submit" value="Submit">
115 <input type="reset" value="Reset">
116 <a class="cmd" href="edit-actions-list?f=@f@@jumptarget@">Cancel</a>
124 <h2>More Privoxy:</h2>
125 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
132 #include mod-support-and-service
137 <!-- @if-have-help-info-start -->
141 #include mod-local-help
145 <!-- if-have-help-info-end@ -->