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.
33 # $Log: edit-actions-url-form,v $
34 # Revision 1.14.2.2 2002/08/23 02:22:53 hal9
35 # Fix a perl brain fart with <li> in comments.
37 # Revision 1.14 2002/05/21 19:14:10 oes
38 # Added button style and jumptarget "cancel" link
40 # Revision 1.13 2002/04/10 13:32:53 oes
41 # Made templates modular
43 # Revision 1.12 2002/04/08 17:08:14 oes
44 # Cosmetic: make status in title lowercase
46 # Revision 1.11 2002/04/05 16:01:32 oes
47 # Correct HTML, external Stylesheets, eye candy, some fixes
49 # Revision 1.10 2002/03/26 22:29:56 swa
50 # we have a new homepage!
52 # Revision 1.9 2002/03/24 15:23:33 jongfoster
55 # Revision 1.8 2002/03/24 11:01:06 swa
58 # Revision 1.7 2002/03/23 16:18:15 swa
59 # renamed every reference to the old name with foobar.
60 # fixed "application foobar application" tag, fixed
61 # "the foobar" with "foobar". left junkbuster in cvs
62 # comments and remarks to history untouched. should
63 # make final rename easier.
65 # Revision 1.6 2002/03/16 15:22:19 jongfoster
66 # Moving 'alpha' warning to the end of the page
68 # Revision 1.5 2002/03/03 10:29:13 swa
69 # point users to the right feedback forms,
70 # not necessarily the developer list.
72 # Revision 1.4 2002/01/23 00:26:45 jongfoster
73 # Reducing length of URLs
74 # Where encoded and unencoded versions of a string existed, removing
77 # Revision 1.3 2002/01/17 21:33:00 jongfoster
78 # Replacing all references to the URL of the config interface
81 # Revision 1.2 2002/01/17 21:21:05 jongfoster
82 # DOS->Unix line endings
84 # Revision 1.1 2001/11/13 00:58:18 jongfoster
85 # New version of actions file editor templates
88 ##############################################################################
92 # This file currently produces valid HTML 4.01 Strict.
94 # If you change it, please save the generated page from your web browser
95 # and then upload it to http://validator.w3.org/ for checking.
97 #############################################################################
99 # Available variables include:
105 # u - old value of URL
106 # jumptarget - append to eal URL to jump to relevant section
108 #############################################################################
109 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
113 <meta http-equiv="Content-Style-Type" content="text/css">
114 <meta http-equiv="Content-Script-Type" content="text/javascript">
115 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
116 <meta name="robots" content="noindex,nofollow">
117 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
119 <title>Privoxy@@my-hostname@: Edit URL Pattern</title>
121 <script type="text/javascript">
123 function validate(text)
127 alert("You need to type a pattern in order to continue!");
139 <table cellpadding="20" cellspacing="10" border="0" width="100%">
148 <!-- @if-unstable-start -->
149 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
153 #include mod-unstable-warning
157 <!-- if-unstable-end@ -->
161 <h2>Edit URL Pattern</h2>
162 <form method="GET" action="edit-actions-url"
163 onSubmit="return validate(u.value);">
165 <input type="hidden" name="f" value="@f@">
166 <input type="hidden" name="v" value="@v@">
167 <input type="hidden" name="p" value="@p@">
168 <input type="text" name="u" value="@u@" size="78"><br>
169 <input type="submit" value="Submit">
170 <input type="reset" value="Reset">
171 <a class="cmd" href="edit-actions-list?f=@f@@jumptarget@">Cancel</a>
179 <h2>More Privoxy:</h2>
180 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
187 #include mod-support-and-service
192 <!-- @if-have-help-info-start -->
196 #include mod-local-help
200 <!-- if-have-help-info-end@ -->
204 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>