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