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