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