Cosmetic: make status in title lowercase
[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.15  2002/04/05 16:01:32  oes
35 #    Correct HTML, external Stylesheets, eye candy, some fixes
36 #
37 #    Revision 1.14  2002/03/26 22:29:56  swa
38 #    we have a new homepage!
39 #
40 #    Revision 1.13  2002/03/24 15:23:33  jongfoster
41 #    Name changes
42 #
43 #    Revision 1.12  2002/03/24 11:01:06  swa
44 #    name change
45 #
46 #    Revision 1.11  2002/03/23 16:18:15  swa
47 #    renamed every reference to the old name with foobar.
48 #    fixed "application foobar application" tag, fixed
49 #    "the foobar" with "foobar". left junkbuster in cvs
50 #    comments and remarks to history untouched. should
51 #    make final rename easier.
52 #
53 #    Revision 1.10  2002/03/16 15:22:19  jongfoster
54 #    Moving 'alpha' warning to the end of the page
55 #
56 #    Revision 1.9  2002/03/05 00:24:51  jongfoster
57 #    Patch to always edit the current actions file.
58 #
59 #    Revision 1.8  2002/03/03 10:29:12  swa
60 #    point users to the right feedback forms,
61 #    not necessarily the developer list.
62 #
63 #    Revision 1.7  2002/01/23 00:26:45  jongfoster
64 #    Reducing length of URLs
65 #    Where encoded and unencoded versions of a string existed, removing
66 #    the unencoded one.
67 #
68 #    Revision 1.6  2002/01/17 21:33:00  jongfoster
69 #    Replacing all references to the URL of the config interface
70 #    with @default-cgi@
71 #
72 #    Revision 1.5  2002/01/17 21:21:05  jongfoster
73 #    DOS->Unix line endings
74 #
75 #    Revision 1.4  2001/11/13 00:58:18  jongfoster
76 #    New version of actions file editor templates
77 #
78 #
79 ##############################################################################
80 #
81 # Browser support for the CSS on this page:
82 #   MS Internet Explorer 5.5 - Yes - everything works.
83 #   Netscape 6.2             - Yes - everything works.
84 #   Netscape 4.75            - No  - CSS buttons look really bad, but they are
85 #                                    usable.  Everything else works.
86 #   Opera 5.12               - Yes - everything works.
87 #   MS Internet Explorer 4+  - Untested
88 #   MS IE 3.x, NS3.x         - Untested (Don't support CSS, so everything
89 #                              should work, but will look ugly).
90 #   Mozilla >=0.6            - Untested
91 #
92 # All browsers should work, you just might not get the pretty CSS buttons.
93 #
94 # If you're favorite browser isn't listed/tested, please test and add it.
95 #
96 #
97 #############################################################################
98 #
99 # Standard support:
100 #
101 # This file currently produces valid HTML 4.01 Strict.
102 #
103 # If you change it, please save the generated page from your web browser
104 # and then upload it to http://validator.w3.org/ for checking.
105 #
106 #############################################################################
107 #
108 # Available variables include:
109 #
110 # filename
111 # ver
112 #
113 #
114 #############################################################################
115 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
116 <html>
117
118 <head>
119   <meta http-equiv="Content-Style-Type" content="text/css">
120   <meta http-equiv="Content-Script-Type" content="text/javascript">
121   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
122   <meta name="robots" content="noindex,nofollow">
123   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
124
125   <title>Privoxy: Edit actions file</title>
126
127   <style type="text/css">
128
129 table.wide {
130   padding: 5px;
131 }
132 table.framed {
133   border: solid black 1px;
134   margin: 10px 0px;
135 }
136 tr.actions {
137   background-color: #eeffee;
138 }
139 tr.url1 {
140   background-color: #d0d0ff;
141 }
142 tr.url2 {
143   background-color: #eeeeff;
144 }
145 tr.rule {
146   background-color: #c0c0c0;
147   height: 3px;
148   max-height: 3px;
149   font-size: 1px
150 }
151 tr.adv {
152   background-color: #FFFFD0;
153 }
154 td.header {
155   font-weight: bold;
156 }
157 td.url {
158   font-weight: bold;
159 }
160 td.action {
161   font-weight: bold;
162   font-style: italic;
163 }
164 td.nbr {
165   white-space: nowrap;
166 }
167 a.cmd, div.buttons a {
168   white-space: nowrap;
169   width: auto;
170   padding: 2px;
171   background-color: #dddddd;
172   color:            #000000;
173   text-decoration: none;
174   border-top:    1px solid #ffffff;
175   border-left:   1px solid #ffffff;
176   border-bottom: 1px solid #000000;
177   border-right:  1px solid #000000;
178 }
179 a.cmd:hover, div.buttons a:hover {
180   background-color: #eeeeee;
181 }
182 a.cmd:active, div.buttons a:active {
183   border-top:    1px solid #000000;
184   border-left:   1px solid #000000;
185   border-bottom: 1px solid #ffffff;
186   border-right:  1px solid #ffffff;
187 }
188
189 </style>
190
191 <script type="text/javascript">
192 <!--
193 function not_yet()
194 {
195    window.alert("The feature you are trying to use has not been implemented yet.");
196 }
197
198 // Non-JS capable browsers will follow the link to a HTML "are you sure?" page
199 // JavaScript-capable browsers will call this function, which does a
200 // client-side prompt for speed.  It may kick off the delete directly.
201 // It always returns false to cancel following the link.
202 function rm_p(pattern,curtext)
203 {
204    if (window.confirm("Are you sure you want to delete this URL pattern?\nPattern is: "+unescape(curtext)))
205    { window.location.href="edit-actions-remove-url?f=@f@&v=@v@&p="+pattern+"#l"+pattern; }
206    return false;
207 }
208
209 //-->
210 </script>
211 </head>
212
213 <body>
214
215   <table cellpadding="20" cellspacing="10" border="0" width="100%">
216     <tr>
217       <td class="title">
218         <h1>
219           This is <a href="@homepage@">Privoxy</a> @version@ on @my-hostname@ (@my-ip-address@), port @my-port@,
220           @if-enabled-display-then@enabled@else-not-enabled-display@disabled@endif-enabled-display@
221         </h1>
222       </td>
223     </tr>
224
225 <!-- @if-unstable-start -->
226 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
227     <tr>
228       <td class="warning">
229         <h2>Warning:</h2>
230         <p>
231           <b>Please note that this <em class="warning">@code-status@</em> release
232           of the proxy software is not intended for production systems!
233           <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
234         </p>
235       </td>
236     </tr>
237 <!-- if-unstable-end@ -->
238
239
240     <tr>
241       <td class="box">
242         <div class="buttons">
243           <h2>Editing Actions File</h2>
244           <p><a class="cmd" href="edit-actions-section-add?f=@f@&amp;v=@v@&amp;s=0">Insert new section at top</a></p>
245         </div>
246       </td>
247     </tr>
248
249     <tr>
250       <td class="container">
251         <div class="buttons">@sections@</div>
252       </td>
253     </tr>
254
255     <tr>
256       <td class="box">
257         <h2>More Privoxy:</h2>
258         <ul>@menu@</ul>
259       </td>
260     </tr>
261
262     <tr>
263       <td class="info">
264         <h2>Support and Service via Sourceforge:</h2>
265         <p>
266           We value your feedback. To provide you with the best support,
267           we ask that you:
268         </p>
269         <ul>
270           <li>
271             use the <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=211118">support forum</a> or (better) the
272             <a href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a> to get help.
273           </li>
274           <li>
275             submit banners and all problems with the actions file only through the
276             <a href="javascript:void(window.open('http://www.privoxy.org/actions','Feedback','width=600,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus());">actions
277             file feedback system</a>.
278           </li>
279           <li>
280             submit bugs only through our <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=111118">bug tracker</a>.
281             Make sure that the bug has not yet been submitted.
282           </li>
283           <li>
284             submit feature requests only through our <a href="http://sourceforge.net/tracker/?atid=361118&amp;group_id=11118&amp;func=browse">feature
285             request tracker</a>.
286           </li>
287         </ul>
288       </td>
289     </tr>
290
291 <!-- @if-have-help-info-start -->
292     <tr>
293       <td class="info">
294         <h2>Local Privoxy support:</h2>
295
296 <!-- @if-have-proxy-info-start -->
297         <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Privoxy installation.</p>        
298 <!-- if-have-proxy-info-end@ -->
299
300 <!-- @if-have-adminaddr-info-start -->
301         <p>Address e-mail questions about this service to
302           <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
303           who will be glad to help you.
304         </p>
305 <!-- if-have-adminaddr-info-end@ -->
306       </td>
307     </tr>
308 <!-- if-have-help-info-end@ -->
309
310     <tr>
311       <td>
312         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
313       </td>
314     </tr>
315
316   </table>
317 </body>
318
319 </html>