Remove kill-popups action.
[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.17  2007/01/23 16:03:16  fabiankeil
35 #    - Add favicon links.
36 #    - Remove useless W3C validator links.
37 #
38 #    Revision 1.16  2006/07/18 14:49:13  david__schmidt
39 #    Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
40 #    with what was really the latest development (the v_3_0_branch branch)
41 #
42 #    Revision 1.14.2.2  2002/08/23 02:22:53  hal9
43 #    Fix a perl brain fart with <li> in comments.
44 #
45 #    Revision 1.14  2002/05/21 19:10:30  oes
46 #     - Added jump target and button style to "cancel" link
47 #     - Fixed title
48 #
49 #    Revision 1.13  2002/04/10 13:32:53  oes
50 #    Made templates modular
51 #
52 #    Revision 1.12  2002/04/08 17:08:14  oes
53 #    Cosmetic: make status in title lowercase
54 #
55 #    Revision 1.11  2002/04/05 16:01:33  oes
56 #    Correct HTML, external Stylesheets, eye candy, some fixes
57 #
58 #    Revision 1.10  2002/03/26 22:29:56  swa
59 #    we have a new homepage!
60 #
61 #    Revision 1.9  2002/03/24 15:23:33  jongfoster
62 #    Name changes
63 #
64 #    Revision 1.8  2002/03/24 11:01:06  swa
65 #    name change
66 #
67 #    Revision 1.7  2002/03/23 16:18:15  swa
68 #    renamed every reference to the old name with foobar.
69 #    fixed "application foobar application" tag, fixed
70 #    "the foobar" with "foobar". left junkbuster in cvs
71 #    comments and remarks to history untouched. should
72 #    make final rename easier.
73 #
74 #    Revision 1.6  2002/03/16 15:22:19  jongfoster
75 #    Moving 'alpha' warning to the end of the page
76 #
77 #    Revision 1.5  2002/03/03 10:29:12  swa
78 #    point users to the right feedback forms,
79 #    not necessarily the developer list.
80 #
81 #    Revision 1.4  2002/01/23 00:26:45  jongfoster
82 #    Reducing length of URLs
83 #    Where encoded and unencoded versions of a string existed, removing
84 #    the unencoded one.
85 #
86 #    Revision 1.3  2002/01/17 21:33:00  jongfoster
87 #    Replacing all references to the URL of the config interface
88 #    with @default-cgi@
89 #
90 #    Revision 1.2  2002/01/17 21:21:03  jongfoster
91 #    DOS->Unix line endings
92 #
93 #    Revision 1.1  2001/11/13 00:58:18  jongfoster
94 #    New version of actions file editor templates
95 #
96 #
97 ##############################################################################
98 #
99 # Standard support:
100 #
101 # This file currently produces valid HTML 4.01 Strict.
102 #
103 # If you change it, please save the generated page from your web browser
104 # and then upload it to http://validator.w3.org/ for checking.
105 #
106 #############################################################################
107 #
108 # Available variables include:
109 #
110 # filename
111 # ver
112 # section
113 #
114 #############################################################################
115 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
116 <html>
117 <head>
118   <meta http-equiv="Content-Style-Type" content="text/css">
119   <meta http-equiv="Content-Script-Type" content="text/javascript">
120   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
121   <meta name="robots" content="noindex,nofollow">
122   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
123   <link rel="shortcut icon" href="@default-cgi@favicon.ico" type="image/x-icon">
124
125   <title>Privoxy@@my-hostname@: Add URL Pattern</title>
126
127   <script type="text/javascript">
128 <!--
129   function validate(text)
130   {
131   if (text=="")
132   {
133     alert("You need to type a pattern in order to continue!");
134     return false;
135   }
136
137   return true;
138 }
139 //-->
140   </script>
141 </head>
142
143 <body>
144
145   <table cellpadding="20" cellspacing="10" border="0" width="100%">
146     <tr>
147       <td class="title">
148
149 #include mod-title
150
151       </td>
152     </tr>
153
154 <!-- @if-unstable-start -->
155 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
156     <tr>
157       <td class="warning">
158
159 #include mod-unstable-warning
160
161       </td>
162     </tr>
163 <!-- if-unstable-end@ -->
164
165     <tr>
166       <td class="box">
167         <h2>Add URL or TAG Pattern</h2>
168         <form method="GET" action="edit-actions-add-url"
169               onSubmit="return validate(u.value);">
170           <p>
171             <input type="hidden" name="f" value="@f@">
172             <input type="hidden" name="v" value="@v@">
173             <input type="hidden" name="s" value="@s@">
174             <input type="text" name="u" value="" size="78" class="pattern"><br>
175             <input type="submit" value="Submit"> &nbsp;
176             <input type="reset" value="Reset"> &nbsp;
177             <a class="cmd" href="edit-actions-list?f=@f@#l@s@">Cancel</a>
178           </p>
179         </form>
180       </td>
181     </tr>
182
183     <tr>
184       <td class="box">
185         <h2>More Privoxy:</h2>
186         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
187       </td>
188     </tr>
189
190     <tr>
191       <td class="info">
192
193 #include mod-support-and-service
194
195       </td>
196     </tr>
197
198 <!-- @if-have-help-info-start -->
199     <tr>
200       <td class="info">
201
202 #include mod-local-help
203
204       </td>
205     </tr>
206 <!-- if-have-help-info-end@ -->
207
208   </table>
209
210 </body>
211 </html>
212