9702d76a3d619defb4d237d3e63c8b13522550a0
[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 #                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-url-form,v $
34 #    Revision 1.10  2002/03/26 22:29:56  swa
35 #    we have a new homepage!
36 #
37 #    Revision 1.9  2002/03/24 15:23:33  jongfoster
38 #    Name changes
39 #
40 #    Revision 1.8  2002/03/24 11:01:06  swa
41 #    name change
42 #
43 #    Revision 1.7  2002/03/23 16:18:15  swa
44 #    renamed every reference to the old name with foobar.
45 #    fixed "application foobar application" tag, fixed
46 #    "the foobar" with "foobar". left junkbuster in cvs
47 #    comments and remarks to history untouched. should
48 #    make final rename easier.
49 #
50 #    Revision 1.6  2002/03/16 15:22:19  jongfoster
51 #    Moving 'alpha' warning to the end of the page
52 #
53 #    Revision 1.5  2002/03/03 10:29:13  swa
54 #    point users to the right feedback forms,
55 #    not necessarily the developer list.
56 #
57 #    Revision 1.4  2002/01/23 00:26:45  jongfoster
58 #    Reducing length of URLs
59 #    Where encoded and unencoded versions of a string existed, removing
60 #    the unencoded one.
61 #
62 #    Revision 1.3  2002/01/17 21:33:00  jongfoster
63 #    Replacing all references to the URL of the config interface
64 #    with @default-cgi@
65 #
66 #    Revision 1.2  2002/01/17 21:21:05  jongfoster
67 #    DOS->Unix line endings
68 #
69 #    Revision 1.1  2001/11/13 00:58:18  jongfoster
70 #    New version of actions file editor templates
71 #
72 #
73 ##############################################################################
74 #
75 # Standard support:
76 #
77 # This file currently produces valid HTML 4.01 Strict.
78 #
79 # If you change it, please save the generated page from your web browser
80 # and then upload it to http://validator.w3.org/ for checking.
81 #
82 #############################################################################
83 #
84 # Available variables include:
85 #
86 # f - filename
87 # v - version
88 # s - section
89 # p - pattern
90 # u - old value of URL
91 #
92 #############################################################################
93 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
94 <html>
95
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>Edit URL Pattern</h2>
150         <form method="GET" action="edit-actions-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="p" value="@p@">
156             <input type="text" name="u" value="@u@" 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
208           about this Privoxy installation.
209         </p>
210 <!-- if-have-proxy-info-end@ -->
211
212 <!-- @if-have-adminaddr-info-start -->
213         <p>Address e-mail questions about this service to
214           <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
215           who will be glad to help you.
216         </p>
217 <!-- if-have-adminaddr-info-end@ -->
218       </td>
219     </tr>
220 <!-- if-have-help-info-end@ -->
221
222     <tr>
223       <td>
224         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
225       </td>
226     </tr>
227
228   </table>
229 </body>
230
231 </html>