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