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