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