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