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