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