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