8bda9722f3e48ba51c04ab279aa24d1f5caf63f0
[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 #                Privoxy team. http://www.privoxy.org/
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.11  2002/04/05 16:01:33  oes
35 #    Correct HTML, external Stylesheets, eye candy, some fixes
36 #
37 #    Revision 1.10  2002/03/26 22:29:56  swa
38 #    we have a new homepage!
39 #
40 #    Revision 1.9  2002/03/24 15:23:33  jongfoster
41 #    Name changes
42 #
43 #    Revision 1.8  2002/03/24 11:01:06  swa
44 #    name change
45 #
46 #    Revision 1.7  2002/03/23 16:18:15  swa
47 #    renamed every reference to the old name with foobar.
48 #    fixed "application foobar application" tag, fixed
49 #    "the foobar" with "foobar". left junkbuster in cvs
50 #    comments and remarks to history untouched. should
51 #    make final rename easier.
52 #
53 #    Revision 1.6  2002/03/16 15:22:19  jongfoster
54 #    Moving 'alpha' warning to the end of the page
55 #
56 #    Revision 1.5  2002/03/03 10:29:12  swa
57 #    point users to the right feedback forms,
58 #    not necessarily the developer list.
59 #
60 #    Revision 1.4  2002/01/23 00:26:45  jongfoster
61 #    Reducing length of URLs
62 #    Where encoded and unencoded versions of a string existed, removing
63 #    the unencoded one.
64 #
65 #    Revision 1.3  2002/01/17 21:33:00  jongfoster
66 #    Replacing all references to the URL of the config interface
67 #    with @default-cgi@
68 #
69 #    Revision 1.2  2002/01/17 21:21:03  jongfoster
70 #    DOS->Unix line endings
71 #
72 #    Revision 1.1  2001/11/13 00:58:18  jongfoster
73 #    New version of actions file editor templates
74 #
75 #
76 ##############################################################################
77 #
78 # Standard support:
79 #
80 # This file currently produces valid HTML 4.01 Strict.
81 #
82 # If you change it, please save the generated page from your web browser
83 # and then upload it to http://validator.w3.org/ for checking.
84 #
85 #############################################################################
86 #
87 # Available variables include:
88 #
89 # filename
90 # ver
91 # section
92 #
93 #############################################################################
94 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
95 <html>
96 <head>
97   <meta http-equiv="Content-Style-Type" content="text/css">
98   <meta http-equiv="Content-Script-Type" content="text/javascript">
99   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
100   <meta name="robots" content="noindex,nofollow">
101   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
102
103   <title>Privoxy@@my-hostname@: Edit URL Pattern</title>
104
105   <script type="text/javascript">
106 <!--
107   function validate(text)
108   {
109   if (text=="")
110   {
111     alert("You need to type a pattern in order to continue!");
112     return false;
113   }
114
115   return true;
116 }
117 //-->
118   </script>
119 </head>
120
121 <body>
122
123   <table cellpadding="20" cellspacing="10" border="0" width="100%">
124     <tr>
125       <td class="title">
126         <h1>
127           This is <a href="@homepage@">Privoxy</a> @version@ on @my-hostname@ (@my-ip-address@), port @my-port@,
128           @if-enabled-display-then@enabled@else-not-enabled-display@disabled@endif-enabled-display@
129         </h1>
130       </td>
131     </tr>
132
133 <!-- @if-unstable-start -->
134 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
135     <tr>
136       <td class="warning">
137         <h2>Warning:</h2>
138           <p>
139             <b>Please note that this <em class="warning">@code-status@</em> release
140             of the proxy software is not intended for production systems!
141             <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
142           </p>
143       </td>
144     </tr>
145 <!-- if-unstable-end@ -->
146
147     <tr>
148       <td class="box">
149         <h2>Add URL Pattern</h2>
150         <form method="GET" action="edit-actions-add-url"
151               onSubmit="return validate(u.value);">
152           <p>
153             <input type="hidden" name="f" value="@f@">
154             <input type="hidden" name="v" value="@v@">
155             <input type="hidden" name="s" value="@s@">
156             <input type="text" name="u" value="" size="78"><br>
157             <input type="submit" value="Submit"> &nbsp;
158             <input type="reset" value="Reset"> &nbsp;
159             <a href="edit-actions-list?f=@f@">Cancel</a>
160           </p>
161         </form>
162       </td>
163     </tr>
164
165     <tr>
166       <td class="box">
167         <h2>More Privoxy:</h2>
168         <ul>@menu@</ul>
169       </td>
170     </tr>
171
172     <tr>
173       <td class="info">
174         <h2>Support and Service via Sourceforge:</h2>
175         <p>
176           We value your feedback. To provide you with the best support,
177           we ask that you:
178         </p>
179         <ul>
180           <li>
181             use the <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=211118">support forum</a> or (better) the
182             <a href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a> to get help.
183           </li>
184           <li>
185             submit banners and all problems with the actions file only through the
186             <a href="javascript:void(window.open('http://www.privoxy.org/actions','Feedback','width=600,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus());">actions
187             file feedback system</a>.
188           </li>
189           <li>
190             submit bugs only through our <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=111118">bug tracker</a>.
191             Make sure that the bug has not yet been submitted.
192           </li>
193           <li>
194             submit feature requests only through our <a href="http://sourceforge.net/tracker/?atid=361118&amp;group_id=11118&amp;func=browse">feature
195             request tracker</a>.
196           </li>
197         </ul>
198       </td>
199     </tr>
200
201 <!-- @if-have-help-info-start -->
202     <tr>
203       <td class="info">
204         <h2>Local Privoxy support:</h2>
205
206 <!-- @if-have-proxy-info-start -->
207         <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Privoxy installation.</p>        
208 <!-- if-have-proxy-info-end@ -->
209
210 <!-- @if-have-adminaddr-info-start -->
211         <p>Address e-mail questions about this service to
212           <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
213           who will be glad to help you.
214         </p>
215 <!-- if-have-adminaddr-info-end@ -->
216       </td>
217     </tr>
218 <!-- if-have-help-info-end@ -->
219
220     <tr>
221       <td>
222         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
223       </td>
224     </tr>
225
226   </table>
227
228 </body>
229 </html>
230