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