New version of actions file editor templates
[privoxy.git] / templates / edit-actions-url-form
1 ##############################################################################\r
2 #\r
3 # File        :  $Source: /cvsroot/ijbswa/current/cgi.c,v $\r
4 #\r
5 # Purpose     :  Template used to edit a URL pattern in an actions file.\r
6 #\r
7 #\r
8 # Copyright   :  Written by and Copyright (C) 2001 the SourceForge\r
9 #                IJBSWA team.  http://ijbswa.sourceforge.net\r
10 #\r
11 #                Original Author: Copyright (C) 2001 Jonathan Foster\r
12 #                http://www.jon-foster.co.uk/\r
13 #\r
14 #                This program is free software; you can redistribute it \r
15 #                and/or modify it under the terms of the GNU General\r
16 #                Public License as published by the Free Software\r
17 #                Foundation; either version 2 of the License, or (at\r
18 #                your option) any later version.\r
19 #\r
20 #                This program is distributed in the hope that it will\r
21 #                be useful, but WITHOUT ANY WARRANTY; without even the\r
22 #                implied warranty of MERCHANTABILITY or FITNESS FOR A\r
23 #                PARTICULAR PURPOSE.  See the GNU General Public\r
24 #                License for more details.\r
25 #\r
26 #                The GNU General Public License should be included with\r
27 #                this file.  If not, you can view it at\r
28 #                http://www.gnu.org/copyleft/gpl.html\r
29 #                or write to the Free Software Foundation, Inc., 59\r
30 #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
31 #\r
32 # Revisions   :\r
33 #    $Log$\r
34 #\r
35 ##############################################################################\r
36 #\r
37 # Standard support:\r
38 #\r
39 # This file currently produces valid HTML 4.01 Strict.\r
40 #\r
41 # If you change it, please save the generated page from your web browser\r
42 # and then upload it to http://validator.w3.org/ for checking.\r
43 #\r
44 #############################################################################\r
45 #\r
46 # Available variables include:\r
47 #\r
48 # filename\r
49 # ver\r
50 # section\r
51 # pattern\r
52 # oldval\r
53 #\r
54 #############################################################################\r
55 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
56 <html>\r
57 \r
58 <head>\r
59 <meta http-equiv="Content-Style-Type" content="text/css">\r
60 <meta http-equiv="Content-Script-Type" content="text/javascript">\r
61 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">\r
62 <meta name="robots" content="noindex,nofollow">\r
63 \r
64 <title>JunkBuster: Edit URL Pattern</title>\r
65 \r
66 <style type="text/css">\r
67 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;\r
68                background-color: #ffffff;\r
69                color: #000000            }\r
70 td.light     { background-color: #eeeeee }\r
71 td.dark      { background-color: #dddddd }\r
72 </style>\r
73 \r
74 <script type="text/javascript">\r
75 <!--\r
76 function validate(text)\r
77 {\r
78   if (text=="")\r
79   {\r
80     alert("You need to type a pattern in order to continue!");\r
81     return false;\r
82   }\r
83 \r
84   return true;\r
85 }\r
86 //-->\r
87 </script>\r
88 \r
89 </head>\r
90 \r
91 <body>\r
92 \r
93 <table cellpadding="20" cellspacing="10" border="0" width="100%">\r
94   <tr>\r
95     <td class="dark">\r
96       <p><b><big><big>This is the Internet \r
97         J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>\r
98         @version@ on @my-hostname@ (@my-ip-address@),\r
99         port @my-port@, \r
100         @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>\r
101     </td>\r
102   </tr>\r
103 \r
104 <!-- @if-unstable-start -->\r
105 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in\r
106   <tr>\r
107     <td style="background-color: #ffdddd" >\r
108       <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release\r
109         of the proxy software is not intended for production systems!\r
110         <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>\r
111       </p>\r
112 \r
113       <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>\r
114         with any problems you encounter.\r
115       </p>\r
116     </td>\r
117   </tr>\r
118 <!-- if-unstable-end@ -->\r
119 \r
120   <tr>\r
121     <td class="light">\r
122       <h2>Edit URL Pattern</h2>\r
123       <form method="GET" action="http://i.j.b/edit-actions-url"\r
124             onSubmit="return validate(newval.value);">\r
125         <p>\r
126           <input type="hidden" name="filename" value="@filename@">\r
127           <input type="hidden" name="ver" value="@ver@">\r
128           <input type="hidden" name="section" value="@section@">\r
129           <input type="hidden" name="pattern" value="@pattern@">\r
130           <input type="text" name="newval" value="@oldval@" size="78"><br>\r
131           <input type="submit" value="Submit"> &nbsp;\r
132           <input type="reset" value="Reset"> &nbsp;\r
133           <a href="http://i.j.b/edit-actions-list?filename=@filename@">Cancel</a>\r
134         </p>\r
135       </form>\r
136     </td>\r
137   </tr>\r
138 \r
139   <tr>\r
140     <td class="dark">\r
141       <h2>More Junkbuster:</h2>\r
142       <ul>@menu@</ul>\r
143     </td>\r
144   </tr>\r
145 \r
146 <!-- @if-have-help-info-start -->\r
147   <tr>\r
148     <td class="light">\r
149       <h2>Local Junkbuster support:</h2>\r
150 \r
151 <!-- @if-have-proxy-info-start -->\r
152       <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.\r
153 <!-- if-have-proxy-info-end@ -->\r
154 \r
155 <!-- @if-have-adminaddr-info-start -->\r
156       <p>Address e-mail questions about this service to\r
157         <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,\r
158         who will be glad to help you.\r
159 <!-- if-have-adminaddr-info-end@ -->\r
160 \r
161       </p>\r
162     </td>\r
163   </tr>\r
164 <!-- if-have-help-info-end@ -->\r
165 \r
166   <tr>\r
167     <td>\r
168       <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>\r
169     </td>\r
170   </tr>\r
171 \r
172 </table>\r
173 \r
174 </body>\r
175 \r
176 </html>\r
177 \r