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