24d62957398a2a6513b03fa5fa9081f482d6073c
[privoxy.git] / templates / edit-actions-list
1 ##############################################################################
2 #
3 # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-list,v $
4 #
5 # Purpose     :  Template used to edit the actions file.
6
7 #
8 # Copyright   :  Written by and Copyright (C) 2001 the SourceForge
9 #                Privoxy team. http://www.privoxy.org/
10 #
11 #                Original Author: Copyright (C) 2001 Jonathan Foster
12 #                http://www.jon-foster.co.uk/
13 #
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.
19 #
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.
25 #
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.
31 #
32 # Revisions   :
33 #    $Log: edit-actions-list,v $
34 #    Revision 1.13  2002/03/24 15:23:33  jongfoster
35 #    Name changes
36 #
37 #    Revision 1.12  2002/03/24 11:01:06  swa
38 #    name change
39 #
40 #    Revision 1.11  2002/03/23 16:18:15  swa
41 #    renamed every reference to the old name with foobar.
42 #    fixed "application foobar application" tag, fixed
43 #    "the foobar" with "foobar". left junkbuster in cvs
44 #    comments and remarks to history untouched. should
45 #    make final rename easier.
46 #
47 #    Revision 1.10  2002/03/16 15:22:19  jongfoster
48 #    Moving 'alpha' warning to the end of the page
49 #
50 #    Revision 1.9  2002/03/05 00:24:51  jongfoster
51 #    Patch to always edit the current actions file.
52 #
53 #    Revision 1.8  2002/03/03 10:29:12  swa
54 #    point users to the right feedback forms,
55 #    not necessarily the developer list.
56 #
57 #    Revision 1.7  2002/01/23 00:26:45  jongfoster
58 #    Reducing length of URLs
59 #    Where encoded and unencoded versions of a string existed, removing
60 #    the unencoded one.
61 #
62 #    Revision 1.6  2002/01/17 21:33:00  jongfoster
63 #    Replacing all references to the URL of the config interface
64 #    with @default-cgi@
65 #
66 #    Revision 1.5  2002/01/17 21:21:05  jongfoster
67 #    DOS->Unix line endings
68 #
69 #    Revision 1.4  2001/11/13 00:58:18  jongfoster
70 #    New version of actions file editor templates
71 #
72 #
73 ##############################################################################
74 #
75 # Browser support for the CSS on this page:
76 #   MS Internet Explorer 5.5 - Yes - everything works.
77 #   Netscape 6.2             - Yes - everything works.
78 #   Netscape 4.75            - No  - CSS buttons look really bad, but they are
79 #                                    usable.  Everything else works.
80 #   Opera 5.12               - Yes - everything works.
81 #   MS Internet Explorer 4+  - Untested
82 #   MS IE 3.x, NS3.x         - Untested (Don't support CSS, so everything
83 #                              should work, but will look ugly).
84 #   Mozilla >=0.6            - Untested
85 #
86 # All browsers should work, you just might not get the pretty CSS buttons.
87 #
88 # If you're favorite browser isn't listed/tested, please test and add it.
89 #
90 #
91 #############################################################################
92 #
93 # Standard support:
94 #
95 # This file currently produces valid HTML 4.01 Strict.
96 #
97 # If you change it, please save the generated page from your web browser
98 # and then upload it to http://validator.w3.org/ for checking.
99 #
100 #############################################################################
101 #
102 # Available variables include:
103 #
104 # filename
105 # ver
106 #
107 #
108 #############################################################################
109 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
110 <html>
111
112 <head>
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
118 <title>Privoxy: Edit actions file</title>
119
120 <style type="text/css">
121 body {
122   font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
123   background-color: #ffffff;
124   color: #000000;
125 }
126 td.light {
127   background-color: #eeeeee;
128 }
129 td.dark {
130   background-color: #dddddd;
131 }
132 table.wide {
133   border-color: white;
134   border-style: solid;
135   border-left-width: 10px;
136   border-right-width: 10px;
137   border-top-width: 0px;
138   border-bottom-width: 0px;
139 }
140 tr.actions {
141   background-color: #eeffee;
142 }
143 tr.url1 {
144   background-color: #d0d0ff;
145 }
146 tr.url2 {
147   background-color: #eeeeff;
148 }
149 tr.rule {
150   background-color: #c0c0c0;
151   height: 3px;
152   max-height: 3px;
153   font-size: 1px
154 }
155 tr.adv {
156   background-color: #FFFFD0;
157 }
158 td.header {
159   font-weight: bold;
160 }
161 td.url {
162   font-weight: bold;
163 }
164 td.action {
165   font-weight: bold;
166   font-style: italic;
167 }
168 td.nbr {
169   white-space: nowrap;
170 }
171 a.cmd, div.buttons a {
172   white-space: nowrap;
173   width: auto;
174   padding: 2px;
175   background-color: #dddddd;
176   color:            #000000;
177   text-decoration: none;
178   border-top:    1px solid #ffffff;
179   border-left:   1px solid #ffffff;
180   border-bottom: 1px solid #000000;
181   border-right:  1px solid #000000;
182 }
183 a.cmd:hover, div.buttons a:hover {
184   background-color: #eeeeee;
185 }
186 a.cmd:active, div.buttons a:active {
187   border-top:    1px solid #000000;
188   border-left:   1px solid #000000;
189   border-bottom: 1px solid #ffffff;
190   border-right:  1px solid #ffffff;
191 }
192
193 </style>
194
195 <script type="text/javascript">
196 <!--
197 function not_yet()
198 {
199    window.alert("The feature you are trying to use has not been implemented yet.");
200 }
201
202 // Non-JS capable browsers will follow the link to a HTML "are you sure?" page
203 // JavaScript-capable browsers will call this function, which does a
204 // client-side prompt for speed.  It may kick off the delete directly.
205 // It always returns false to cancel following the link.
206 function rm_p(pattern,curtext)
207 {
208    if (window.confirm("Are you sure you want to delete this URL pattern?\nPattern is: "+unescape(curtext)))
209    { window.location.href="edit-actions-remove-url?f=@f@&v=@v@&p="+pattern+"#l"+pattern; }
210    return false;
211 }
212
213 //-->
214 </script>
215 </head>
216
217 <body>
218
219 <table cellpadding="20" cellspacing="10" border="0" width="100%">
220   <tr>
221     <td class="dark">
222       <p><big><big><b>This is Privoxy (privacy enhancing proxy) @version@ on @my-hostname@ (@my-ip-address@), port @my-port@, @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</b></big></big></p>
223     </td>
224   </tr>
225 </table>
226
227 <div class="buttons">
228
229 <table cellpadding="20" cellspacing="10" border="0" width="100%">
230   <tr>
231     <td class="light">
232       <h2>Editing Actions File</h2>
233       <p><a class="cmd" href="edit-actions-section-add?f=@f@&amp;v=@v@&amp;s=0">Insert new section at top</a></p>
234     </td>
235   </tr>
236 </table>
237
238 @sections@
239
240 </div>
241
242 <table cellpadding="20" cellspacing="10" border="0" width="100%">
243   <tr>
244     <td class="dark">
245       <h2>More Privoxy:</h2>
246       <ul>@menu@</ul>
247     </td>
248   </tr>
249
250   <tr>
251     <td>
252       <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
253     </td>
254   </tr>
255
256 </table>
257
258 </body>
259
260 </html>