New version of actions file editor templates
[privoxy.git] / templates / edit-actions-add-url-form
1 ##############################################################################\r
2 #\r
3 # File        :  $Source: /cvsroot/ijbswa/current/cgi.c,v $\r
4 #\r
5 # Purpose     :  Template used to add a URL pattern to the 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 #\r
52 #############################################################################\r
53 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
54 <html>\r
55 \r
56 <head>\r
57 <meta http-equiv="Content-Style-Type" content="text/css">\r
58 <meta http-equiv="Content-Script-Type" content="text/javascript">\r
59 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">\r
60 <meta name="robots" content="noindex,nofollow">\r
61 \r
62 <title>JunkBuster: Edit URL Pattern</title>\r
63 \r
64 <style type="text/css">\r
65 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;\r
66                background-color: #ffffff;\r
67                color: #000000            }\r
68 td.light     { background-color: #eeeeee }\r
69 td.dark      { background-color: #dddddd }\r
70 </style>\r
71 \r
72 <script type="text/javascript">\r
73 <!--\r
74 function validate(text)\r
75 {\r
76   if (text=="")\r
77   {\r
78     alert("You need to type a pattern in order to continue!");\r
79     return false;\r
80   }\r
81 \r
82   return true;\r
83 }\r
84 //-->\r
85 </script>\r
86 \r
87 </head>\r
88 \r
89 <body>\r
90 \r
91 <table cellpadding="20" cellspacing="10" border="0" width="100%">\r
92   <tr>\r
93     <td class="dark">\r
94       <p><b><big><big>This is the Internet \r
95         J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>\r
96         @version@ on @my-hostname@ (@my-ip-address@),\r
97         port @my-port@, \r
98         @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>\r
99     </td>\r
100   </tr>\r
101 \r
102 <!-- @if-unstable-start -->\r
103 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in\r
104   <tr>\r
105     <td style="background-color: #ffdddd" >\r
106       <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release\r
107         of the proxy software is not intended for production systems!\r
108         <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>\r
109       </p>\r
110 \r
111       <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>\r
112         with any problems you encounter.\r
113       </p>\r
114     </td>\r
115   </tr>\r
116 <!-- if-unstable-end@ -->\r
117 \r
118   <tr>\r
119     <td class="light">\r
120       <h2>Add URL Pattern</h2>\r
121       <form method="GET" action="http://i.j.b/edit-actions-add-url"\r
122             onSubmit="return validate(newval.value);">\r
123         <p>\r
124           <input type="hidden" name="filename" value="@filename@">\r
125           <input type="hidden" name="ver" value="@ver@">\r
126           <input type="hidden" name="section" value="@section@">\r
127           <input type="text" name="newval" value="" size="78"><br>\r
128           <input type="submit" value="Submit"> &nbsp;\r
129           <input type="reset" value="Reset"> &nbsp;\r
130           <a href="http://i.j.b/edit-actions-list?filename=@filename@">Cancel</a>\r
131         </p>\r
132       </form>\r
133     </td>\r
134   </tr>\r
135 \r
136   <tr>\r
137     <td class="dark">\r
138       <h2>More Junkbuster:</h2>\r
139       <ul>@menu@</ul>\r
140     </td>\r
141   </tr>\r
142 \r
143 <!-- @if-have-help-info-start -->\r
144   <tr>\r
145     <td class="light">\r
146       <h2>Local Junkbuster support:</h2>\r
147 \r
148 <!-- @if-have-proxy-info-start -->\r
149       <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.\r
150 <!-- if-have-proxy-info-end@ -->\r
151 \r
152 <!-- @if-have-adminaddr-info-start -->\r
153       <p>Address e-mail questions about this service to\r
154         <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,\r
155         who will be glad to help you.\r
156 <!-- if-have-adminaddr-info-end@ -->\r
157 \r
158       </p>\r
159     </td>\r
160   </tr>\r
161 <!-- if-have-help-info-end@ -->\r
162 \r
163   <tr>\r
164     <td>\r
165       <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>\r
166     </td>\r
167   </tr>\r
168 \r
169 </table>\r
170 \r
171 </body>\r
172 \r
173 </html>\r
174 \r