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