db5a8346a7f19513d36e3341f0f092878e5d3b40
[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://ijbswa.sourceforge.net
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.8  2002/03/24 11:01:06  swa
35 #    name change
36 #
37 #    Revision 1.7  2002/03/23 16:18:15  swa
38 #    renamed every reference to the old name with foobar.
39 #    fixed "application foobar application" tag, fixed
40 #    "the foobar" with "foobar". left junkbuster in cvs
41 #    comments and remarks to history untouched. should
42 #    make final rename easier.
43 #
44 #    Revision 1.6  2002/03/16 15:22:19  jongfoster
45 #    Moving 'alpha' warning to the end of the page
46 #
47 #    Revision 1.5  2002/03/03 10:29:12  swa
48 #    point users to the right feedback forms,
49 #    not necessarily the developer list.
50 #
51 #    Revision 1.4  2002/01/23 00:26:45  jongfoster
52 #    Reducing length of URLs
53 #    Where encoded and unencoded versions of a string existed, removing
54 #    the unencoded one.
55 #
56 #    Revision 1.3  2002/01/17 21:33:00  jongfoster
57 #    Replacing all references to the URL of the config interface
58 #    with @default-cgi@
59 #
60 #    Revision 1.2  2002/01/17 21:21:03  jongfoster
61 #    DOS->Unix line endings
62 #
63 #    Revision 1.1  2001/11/13 00:58:18  jongfoster
64 #    New version of actions file editor templates
65 #
66 #
67 ##############################################################################
68 #
69 # Standard support:
70 #
71 # This file currently produces valid HTML 4.01 Strict.
72 #
73 # If you change it, please save the generated page from your web browser
74 # and then upload it to http://validator.w3.org/ for checking.
75 #
76 #############################################################################
77 #
78 # Available variables include:
79 #
80 # filename
81 # ver
82 # section
83 #
84 #############################################################################
85 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
86 <html>
87
88 <head>
89 <meta http-equiv="Content-Style-Type" content="text/css">
90 <meta http-equiv="Content-Script-Type" content="text/javascript">
91 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
92 <meta name="robots" content="noindex,nofollow">
93
94 <title>Privoxy: Edit URL Pattern</title>
95
96 <style type="text/css">
97 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
98                background-color: #ffffff;
99                color: #000000            }
100 td.light     { background-color: #eeeeee }
101 td.dark      { background-color: #dddddd }
102 </style>
103
104 <script type="text/javascript">
105 <!--
106 function validate(text)
107 {
108   if (text=="")
109   {
110     alert("You need to type a pattern in order to continue!");
111     return false;
112   }
113
114   return true;
115 }
116 //-->
117 </script>
118
119 </head>
120
121 <body>
122
123 <table cellpadding="20" cellspacing="10" border="0" width="100%">
124   <tr>
125     <td class="dark">
126       <p><big><big><b>This is Privoxy (privacy enhancing proxy) @version@ on @my-hostname@ (@my-ip-address@), port @my-port@, @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</b></big></big></p>
127     </td>
128   </tr>
129
130   <tr>
131     <td class="light">
132       <h2>Add URL Pattern</h2>
133       <form method="GET" action="edit-actions-add-url"
134             onSubmit="return validate(u.value);">
135         <p>
136           <input type="hidden" name="f" value="@f@">
137           <input type="hidden" name="v" value="@v@">
138           <input type="hidden" name="s" value="@s@">
139           <input type="text" name="u" value="" size="78"><br>
140           <input type="submit" value="Submit"> &nbsp;
141           <input type="reset" value="Reset"> &nbsp;
142           <a href="edit-actions-list?f=@f@">Cancel</a>
143         </p>
144       </form>
145     </td>
146   </tr>
147
148   <tr>
149     <td class="dark">
150       <h2>More Privoxy:</h2>
151       <ul>@menu@</ul>
152     </td>
153   </tr>
154
155   <tr>
156     <td>
157       <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
158     </td>
159   </tr>
160
161 </table>
162
163 </body>
164
165 </html>
166