0bec38f600906ccb814ec92df57d75e3b090f4d3
[privoxy.git] / templates / edit-actions-url-form
1 ##############################################################################
2 #
3 # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-url-form,v $
4 #
5 # Purpose     :  Template used to edit a URL pattern in an 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-url-form,v $
34 #    Revision 1.2  2002/01/17 21:21:05  jongfoster
35 #    DOS->Unix line endings
36 #
37 #    Revision 1.1  2001/11/13 00:58:18  jongfoster
38 #    New version of actions file editor templates
39 #
40 #
41 ##############################################################################
42 #
43 # Standard support:
44 #
45 # This file currently produces valid HTML 4.01 Strict.
46 #
47 # If you change it, please save the generated page from your web browser
48 # and then upload it to http://validator.w3.org/ for checking.
49 #
50 #############################################################################
51 #
52 # Available variables include:
53 #
54 # filename
55 # ver
56 # section
57 # pattern
58 # oldval
59 #
60 #############################################################################
61 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
62 <html>
63
64 <head>
65 <meta http-equiv="Content-Style-Type" content="text/css">
66 <meta http-equiv="Content-Script-Type" content="text/javascript">
67 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
68 <meta name="robots" content="noindex,nofollow">
69
70 <title>JunkBuster: Edit URL Pattern</title>
71
72 <style type="text/css">
73 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
74                background-color: #ffffff;
75                color: #000000            }
76 td.light     { background-color: #eeeeee }
77 td.dark      { background-color: #dddddd }
78 </style>
79
80 <script type="text/javascript">
81 <!--
82 function validate(text)
83 {
84   if (text=="")
85   {
86     alert("You need to type a pattern in order to continue!");
87     return false;
88   }
89
90   return true;
91 }
92 //-->
93 </script>
94
95 </head>
96
97 <body>
98
99 <table cellpadding="20" cellspacing="10" border="0" width="100%">
100   <tr>
101     <td class="dark">
102       <p><b><big><big>This is the Internet 
103         J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>
104         @version@ on @my-hostname@ (@my-ip-address@),
105         port @my-port@, 
106         @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>
107     </td>
108   </tr>
109
110 <!-- @if-unstable-start -->
111 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
112   <tr>
113     <td style="background-color: #ffdddd" >
114       <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release
115         of the proxy software is not intended for production systems!
116         <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
117       </p>
118
119       <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>
120         with any problems you encounter.
121       </p>
122     </td>
123   </tr>
124 <!-- if-unstable-end@ -->
125
126   <tr>
127     <td class="light">
128       <h2>Edit URL Pattern</h2>
129       <form method="GET" action="@default-cgi@edit-actions-url"
130             onSubmit="return validate(newval.value);">
131         <p>
132           <input type="hidden" name="filename" value="@filename@">
133           <input type="hidden" name="ver" value="@ver@">
134           <input type="hidden" name="section" value="@section@">
135           <input type="hidden" name="pattern" value="@pattern@">
136           <input type="text" name="newval" value="@oldval@" size="78"><br>
137           <input type="submit" value="Submit"> &nbsp;
138           <input type="reset" value="Reset"> &nbsp;
139           <a href="@default-cgi@edit-actions-list?filename=@filename@">Cancel</a>
140         </p>
141       </form>
142     </td>
143   </tr>
144
145   <tr>
146     <td class="dark">
147       <h2>More Junkbuster:</h2>
148       <ul>@menu@</ul>
149     </td>
150   </tr>
151
152 <!-- @if-have-help-info-start -->
153   <tr>
154     <td class="light">
155       <h2>Local Junkbuster support:</h2>
156
157 <!-- @if-have-proxy-info-start -->
158       <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.
159 <!-- if-have-proxy-info-end@ -->
160
161 <!-- @if-have-adminaddr-info-start -->
162       <p>Address e-mail questions about this service to
163         <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
164         who will be glad to help you.
165 <!-- if-have-adminaddr-info-end@ -->
166
167       </p>
168     </td>
169   </tr>
170 <!-- if-have-help-info-end@ -->
171
172   <tr>
173     <td>
174       <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
175     </td>
176   </tr>
177
178 </table>
179
180 </body>
181
182 </html>
183