b2d7ff82d2ffde62fe6070890d383729033b5135
[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.11  2002/04/05 16:01:32  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:13  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:05  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 # f - filename
90 # v - version
91 # s - section
92 # p - pattern
93 # u - old value of URL
94 #
95 #############################################################################
96 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
97 <html>
98
99 <head>
100   <meta http-equiv="Content-Style-Type" content="text/css">
101   <meta http-equiv="Content-Script-Type" content="text/javascript">
102   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
103   <meta name="robots" content="noindex,nofollow">
104   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
105
106   <title>Privoxy@@my-hostname@: Edit URL Pattern</title>
107
108   <script type="text/javascript">
109 <!--
110 function validate(text)
111 {
112   if (text=="")
113   {
114     alert("You need to type a pattern in order to continue!");
115     return false;
116   }
117
118   return true;
119 }
120 //-->
121   </script>
122 </head>
123
124 <body>
125
126   <table cellpadding="20" cellspacing="10" border="0" width="100%">
127     <tr>
128       <td class="title">
129         <h1>
130           This is <a href="@homepage@">Privoxy</a> @version@ on @my-hostname@ (@my-ip-address@), port @my-port@,
131           @if-enabled-display-then@enabled@else-not-enabled-display@disabled@endif-enabled-display@
132         </h1>
133       </td>
134     </tr>
135
136 <!-- @if-unstable-start -->
137 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
138     <tr>
139       <td class="warning">
140         <h2>Warning:</h2>
141           <p>
142             <b>Please note that this <em class="warning">@code-status@</em> release
143             of the proxy software is not intended for production systems!
144             <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
145           </p>
146       </td>
147     </tr>
148 <!-- if-unstable-end@ -->
149
150     <tr>
151       <td class="box">
152         <h2>Edit URL Pattern</h2>
153         <form method="GET" action="edit-actions-url"
154               onSubmit="return validate(u.value);">
155           <p>
156             <input type="hidden" name="f" value="@f@">
157             <input type="hidden" name="v" value="@v@">
158             <input type="hidden" name="p" value="@p@">
159             <input type="text" name="u" value="@u@" size="78"><br>
160             <input type="submit" value="Submit"> &nbsp;
161             <input type="reset" value="Reset"> &nbsp;
162             <a href="edit-actions-list?f=@f@">Cancel</a>
163           </p>
164         </form>
165       </td>
166     </tr>
167
168     <tr>
169       <td class="box">
170         <h2>More Privoxy:</h2>
171         <ul>@menu@</ul>
172       </td>
173     </tr>
174
175     <tr>
176       <td class="info">
177         <h2>Support and Service via Sourceforge:</h2>
178         <p>
179           We value your feedback. To provide you with the best support,
180           we ask that you:
181         </p>
182         <ul>
183           <li>
184             use the <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=211118">support forum</a> or (better) the
185             <a href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a> to get help.
186           </li>
187           <li>
188             submit banners and all problems with the actions file only through the
189             <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
190             file feedback system</a>.
191           </li>
192           <li>
193             submit bugs only through our <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=111118">bug tracker</a>.
194             Make sure that the bug has not yet been submitted.
195           </li>
196           <li>
197             submit feature requests only through our <a href="http://sourceforge.net/tracker/?atid=361118&amp;group_id=11118&amp;func=browse">feature
198             request tracker</a>.
199           </li>
200         </ul>
201       </td>
202     </tr>
203
204 <!-- @if-have-help-info-start -->
205     <tr>
206       <td class="info">
207         <h2>Local Privoxy support:</h2>
208
209 <!-- @if-have-proxy-info-start -->
210         <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information
211           about this Privoxy installation.
212         </p>
213 <!-- if-have-proxy-info-end@ -->
214
215 <!-- @if-have-adminaddr-info-start -->
216         <p>Address e-mail questions about this service to
217           <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
218           who will be glad to help you.
219         </p>
220 <!-- if-have-adminaddr-info-end@ -->
221       </td>
222     </tr>
223 <!-- if-have-help-info-end@ -->
224
225     <tr>
226       <td>
227         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
228       </td>
229     </tr>
230
231   </table>
232 </body>
233
234 </html>