1bc0bcb9c17e4b448cfc84494f59d939212da145
[privoxy.git] / templates / edit-actions-list
1 ##############################################################################\r
2 #\r
3 # File        :  $Source: /cvsroot/ijbswa/current/cgi.c,v $\r
4 #\r
5 # Purpose     :  Template used to edit the actions file.\r
6\r
7 #\r
8 # Copyright   :  Written by and Copyright (C) 2001 the SourceForge\r
9 #                IJBSWA team.  http://ijbswa.sourceforge.net\r
10 #\r
11 #                Original Author: Copyright (C) 2001 Jonathan Foster\r
12 #                http://www.jon-foster.co.uk/\r
13 #\r
14 #                This program is free software; you can redistribute it \r
15 #                and/or modify it under the terms of the GNU General\r
16 #                Public License as published by the Free Software\r
17 #                Foundation; either version 2 of the License, or (at\r
18 #                your option) any later version.\r
19 #\r
20 #                This program is distributed in the hope that it will\r
21 #                be useful, but WITHOUT ANY WARRANTY; without even the\r
22 #                implied warranty of MERCHANTABILITY or FITNESS FOR A\r
23 #                PARTICULAR PURPOSE.  See the GNU General Public\r
24 #                License for more details.\r
25 #\r
26 #                The GNU General Public License should be included with\r
27 #                this file.  If not, you can view it at\r
28 #                http://www.gnu.org/copyleft/gpl.html\r
29 #                or write to the Free Software Foundation, Inc., 59\r
30 #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
31 #\r
32 # Revisions   :\r
33 #    $Log$\r
34 #\r
35 ##############################################################################\r
36 #\r
37 # Browser support for the CSS on this page:\r
38 #   MS Internet Explorer 5.5 - Yes - everything works.\r
39 #   Netscape 6.2             - Yes - everything works.\r
40 #   Netscape 4.75            - No  - CSS buttons look really bad, but they are\r
41 #                                    usable.  Everything else works.\r
42 #   Opera 5.12               - Yes - everything works.\r
43 #   MS Internet Explorer 4+  - Untested\r
44 #   MS IE 3.x, NS3.x         - Untested (Don't support CSS, so everything\r
45 #                              should work, but will look ugly).\r
46 #   Mozilla >=0.6            - Untested\r
47 #\r
48 # All browsers should work, you just might not get the pretty CSS buttons.\r
49 #\r
50 # If you're favorite browser isn't listed/tested, please test and add it.\r
51 #\r
52 #\r
53 #############################################################################\r
54 #\r
55 # Standard support:\r
56 #\r
57 # This file currently produces valid HTML 4.01 Strict.\r
58 #\r
59 # If you change it, please save the generated page from your web browser\r
60 # and then upload it to http://validator.w3.org/ for checking.\r
61 #\r
62 #############################################################################\r
63 #\r
64 # Available variables include:\r
65 #\r
66 # filename\r
67 # ver\r
68 #\r
69 #\r
70 #############################################################################\r
71 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
72 <html>\r
73 \r
74 <head>\r
75 <meta http-equiv="Content-Style-Type" content="text/css">\r
76 <meta http-equiv="Content-Script-Type" content="text/javascript">\r
77 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">\r
78 <meta name="robots" content="noindex,nofollow">\r
79 \r
80 <title>JunkBuster: Edit actions file - @filename@.action</title>\r
81 \r
82 <style type="text/css">\r
83 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;\r
84                background-color: #ffffff;\r
85                color: #000000;            }\r
86 td.light     { background-color: #eeeeee; }\r
87 td.dark      { background-color: #dddddd; }\r
88 table.wide   { border-color: white;\r
89                border-style: solid;\r
90                border-left-width: 10px;\r
91                border-right-width: 10px;\r
92                border-top-width: 0px;\r
93                border-bottom-width: 0px;  }\r
94 tr.actions   { background-color: #eeffee; }\r
95 tr.url1      { background-color: #d0d0ff; }\r
96 tr.url2      { background-color: #eeeeff; }\r
97 tr.rule      { background-color: #c0c0c0;\r
98                height: 3px;\r
99                max-height: 3px;\r
100                font-size: 1px             }\r
101 tr.adv       { background-color: #FFFFD0; }\r
102 td.header    { font-weight: bold;         }\r
103 td.url       { font-weight: bold;         }\r
104 td.action    { font-weight: bold;\r
105                font-style: italic;        }\r
106 td.nobreak   { white-space: nowrap; }\r
107 a.cmd        { white-space: nowrap;\r
108                width: auto;\r
109                padding: 2px;\r
110                background-color: #dddddd;\r
111                color:            #000000;\r
112                text-decoration: none;\r
113                border-top:    1px solid #ffffff;\r
114                border-left:   1px solid #ffffff;\r
115                border-bottom: 1px solid #000000;\r
116                border-right:  1px solid #000000; }\r
117 a.cmd:hover  { background-color: #eeeeee;        }\r
118 a.cmd:active { border-top:    1px solid #000000;\r
119                border-left:   1px solid #000000;\r
120                border-bottom: 1px solid #ffffff;\r
121                border-right:  1px solid #ffffff; }\r
122 \r
123 </style>\r
124 \r
125 <script type="text/javascript">\r
126 <!--\r
127 function not_yet()\r
128 {\r
129    window.alert("The feature you are trying to use has not been implemented yet.");\r
130 }\r
131 \r
132 // Non-JS capable browsers will follow the link to a HTML "are you sure?" page\r
133 // JavaScript-capable browsers will call this function, which does a\r
134 // client-side prompt for speed.  It may kick off the delete directly.\r
135 // It always returns false to cancel following the link.\r
136 function remove_pattern(section,pattern,curtext)\r
137 {\r
138    if (window.confirm("Are you sure you want to delete this URL pattern?\nPattern is: "+unescape(curtext)))\r
139    { window.location.href="http://i.j.b/edit-actions-remove-url?filename=@filename@&ver=@ver@&section="+section+"&pattern="+pattern+"#s"+section+"urls"; }\r
140    return false;\r
141 }\r
142 \r
143 //-->\r
144 </script>\r
145 </head>\r
146 \r
147 <body>\r
148 \r
149 <table cellpadding="20" cellspacing="10" border="0" width="100%">\r
150   <tr>\r
151     <td class="dark">\r
152       <p><b><big><big>This is the Internet \r
153         J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>\r
154         @version@ on @my-hostname@ (@my-ip-address@),\r
155         port @my-port@, \r
156         @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>\r
157     </td>\r
158   </tr>\r
159 \r
160 <!-- @if-unstable-start -->\r
161 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in\r
162   <tr>\r
163     <td style="background-color: #ffdddd" >\r
164       <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release\r
165         of the proxy software is not intended for production systems!\r
166         <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>\r
167       </p>\r
168 \r
169       <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>\r
170         with any problems you encounter.\r
171       </p>\r
172     </td>\r
173   </tr>\r
174 <!-- if-unstable-end@ -->\r
175 \r
176   <tr>\r
177     <td class="light">\r
178       <h2>Editing Actions File - @filename@.action</h2>\r
179       <p>\r
180         <span><a class="cmd" href="http://i.j.b/edit-actions-section-add?filename=@filename@&amp;ver=@ver@&amp;section=0">Insert new section at top</a></span>\r
181       </p>\r
182     </td>\r
183   </tr>\r
184 </table>\r
185 \r
186 @sections@\r
187 \r
188 <table cellpadding="20" cellspacing="10" border="0" width="100%">\r
189   <tr>\r
190     <td class="dark">\r
191       <h2>More Junkbuster:</h2>\r
192       <ul>@menu@</ul>\r
193     </td>\r
194   </tr>\r
195 \r
196 <!-- @if-have-help-info-start -->\r
197   <tr>\r
198     <td class="light">\r
199       <h2>Local Junkbuster support:</h2>\r
200 \r
201 <!-- @if-have-proxy-info-start -->\r
202       <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.\r
203 <!-- if-have-proxy-info-end@ -->\r
204 \r
205 <!-- @if-have-adminaddr-info-start -->\r
206       <p>Address e-mail questions about this service to\r
207         <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,\r
208         who will be glad to help you.\r
209 <!-- if-have-adminaddr-info-end@ -->\r
210 \r
211       </p>\r
212     </td>\r
213   </tr>\r
214 <!-- if-have-help-info-end@ -->\r
215 \r
216   <tr>\r
217     <td>\r
218       <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>\r
219     </td>\r
220   </tr>\r
221 \r
222 </table>\r
223 \r
224 </body>\r
225 \r
226 </html>\r