1 ##############################################################################
\r
3 # File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
\r
5 # Purpose : Template used to add a URL pattern to the actions file.
\r
8 # Copyright : Written by and Copyright (C) 2001 the SourceForge
\r
9 # IJBSWA team. http://ijbswa.sourceforge.net
\r
11 # Original Author: Copyright (C) 2001 Jonathan Foster
\r
12 # http://www.jon-foster.co.uk/
\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
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
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
35 ##############################################################################
\r
39 # This file currently produces valid HTML 4.01 Strict.
\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
44 #############################################################################
\r
46 # Available variables include:
\r
52 #############################################################################
\r
53 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
\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
62 <title>JunkBuster: Edit URL Pattern</title>
\r
64 <style type="text/css">
\r
65 body { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
\r
66 background-color: #ffffff;
\r
68 td.light { background-color: #eeeeee }
\r
69 td.dark { background-color: #dddddd }
\r
72 <script type="text/javascript">
\r
74 function validate(text)
\r
78 alert("You need to type a pattern in order to continue!");
\r
91 <table cellpadding="20" cellspacing="10" border="0" width="100%">
\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
98 @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>
\r
102 <!-- @if-unstable-start -->
\r
103 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
\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
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
116 <!-- if-unstable-end@ -->
\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
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">
\r
129 <input type="reset" value="Reset">
\r
130 <a href="http://i.j.b/edit-actions-list?filename=@filename@">Cancel</a>
\r
138 <h2>More Junkbuster:</h2>
\r
143 <!-- @if-have-help-info-start -->
\r
146 <h2>Local Junkbuster support:</h2>
\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
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
161 <!-- if-have-help-info-end@ -->
\r
165 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
\r