1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-list,v $
5 # Purpose : Template used to edit the 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-list,v $
34 # Revision 1.16 2002/04/08 17:08:14 oes
35 # Cosmetic: make status in title lowercase
37 # Revision 1.15 2002/04/05 16:01:32 oes
38 # Correct HTML, external Stylesheets, eye candy, some fixes
40 # Revision 1.14 2002/03/26 22:29:56 swa
41 # we have a new homepage!
43 # Revision 1.13 2002/03/24 15:23:33 jongfoster
46 # Revision 1.12 2002/03/24 11:01:06 swa
49 # Revision 1.11 2002/03/23 16:18:15 swa
50 # renamed every reference to the old name with foobar.
51 # fixed "application foobar application" tag, fixed
52 # "the foobar" with "foobar". left junkbuster in cvs
53 # comments and remarks to history untouched. should
54 # make final rename easier.
56 # Revision 1.10 2002/03/16 15:22:19 jongfoster
57 # Moving 'alpha' warning to the end of the page
59 # Revision 1.9 2002/03/05 00:24:51 jongfoster
60 # Patch to always edit the current actions file.
62 # Revision 1.8 2002/03/03 10:29:12 swa
63 # point users to the right feedback forms,
64 # not necessarily the developer list.
66 # Revision 1.7 2002/01/23 00:26:45 jongfoster
67 # Reducing length of URLs
68 # Where encoded and unencoded versions of a string existed, removing
71 # Revision 1.6 2002/01/17 21:33:00 jongfoster
72 # Replacing all references to the URL of the config interface
75 # Revision 1.5 2002/01/17 21:21:05 jongfoster
76 # DOS->Unix line endings
78 # Revision 1.4 2001/11/13 00:58:18 jongfoster
79 # New version of actions file editor templates
82 ##############################################################################
84 # Browser support for the CSS on this page:
85 # MS Internet Explorer 5.5 - Yes - everything works.
86 # Netscape 6.2 - Yes - everything works.
87 # Netscape 4.75 - No - CSS buttons look really bad, but they are
88 # usable. Everything else works.
89 # Opera 5.12 - Yes - everything works.
90 # MS Internet Explorer 4+ - Untested
91 # MS IE 3.x, NS3.x - Untested (Don't support CSS, so everything
92 # should work, but will look ugly).
93 # Mozilla >=0.6 - Untested
95 # All browsers should work, you just might not get the pretty CSS buttons.
97 # If you're favorite browser isn't listed/tested, please test and add it.
100 #############################################################################
104 # This file currently produces valid HTML 4.01 Strict.
106 # If you change it, please save the generated page from your web browser
107 # and then upload it to http://validator.w3.org/ for checking.
109 #############################################################################
111 # Available variables include:
117 #############################################################################
118 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
122 <meta http-equiv="Content-Style-Type" content="text/css">
123 <meta http-equiv="Content-Script-Type" content="text/javascript">
124 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
125 <meta name="robots" content="noindex,nofollow">
126 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
128 <title>Privoxy: Edit actions file</title>
130 <style type="text/css">
136 border: solid black 1px;
140 background-color: #eeffee;
143 background-color: #d0d0ff;
146 background-color: #eeeeff;
149 background-color: #c0c0c0;
155 background-color: #FFFFD0;
170 a.cmd, div.buttons a {
174 background-color: #dddddd;
176 text-decoration: none;
177 border-top: 1px solid #ffffff;
178 border-left: 1px solid #ffffff;
179 border-bottom: 1px solid #000000;
180 border-right: 1px solid #000000;
182 a.cmd:hover, div.buttons a:hover {
183 background-color: #eeeeee;
185 a.cmd:active, div.buttons a:active {
186 border-top: 1px solid #000000;
187 border-left: 1px solid #000000;
188 border-bottom: 1px solid #ffffff;
189 border-right: 1px solid #ffffff;
194 <script type="text/javascript">
198 window.alert("The feature you are trying to use has not been implemented yet.");
201 // Non-JS capable browsers will follow the link to a HTML "are you sure?" page
202 // JavaScript-capable browsers will call this function, which does a
203 // client-side prompt for speed. It may kick off the delete directly.
204 // It always returns false to cancel following the link.
205 function rm_p(pattern,curtext)
207 if (window.confirm("Are you sure you want to delete this URL pattern?\nPattern is: "+unescape(curtext)))
208 { window.location.href="edit-actions-remove-url?f=@f@&v=@v@&p="+pattern+"#l"+pattern; }
218 <table cellpadding="20" cellspacing="10" border="0" width="100%">
227 <!-- @if-unstable-start -->
228 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
232 #include mod-unstable-warning
236 <!-- if-unstable-end@ -->
241 <div class="buttons">
242 <h2>Editing Actions File</h2>
243 <p><a class="cmd" href="edit-actions-section-add?f=@f@&v=@v@&s=0">Insert new section at top</a></p>
249 <td class="container">
250 <div class="buttons">@sections@</div>
256 <h2>More Privoxy:</h2>
264 #include mod-support-and-service
269 <!-- @if-have-help-info-start -->
273 #include mod-local-help
277 <!-- if-have-help-info-end@ -->
281 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>