1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-list,v $
5 # Purpose : Template used to edit the actions file.
8 # Copyright : Written by and Copyright (C) 2001 the SourceForge
9 # IJBSWA team. http://ijbswa.sourceforge.net
11 # Original Author: Copyright (C) 2001 Jonathan Foster
12 # http://www.jon-foster.co.uk/
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.
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.
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.
33 # $Log: edit-actions-list,v $
34 # Revision 1.5 2002/01/17 21:21:05 jongfoster
35 # DOS->Unix line endings
37 # Revision 1.4 2001/11/13 00:58:18 jongfoster
38 # New version of actions file editor templates
41 ##############################################################################
43 # Browser support for the CSS on this page:
44 # MS Internet Explorer 5.5 - Yes - everything works.
45 # Netscape 6.2 - Yes - everything works.
46 # Netscape 4.75 - No - CSS buttons look really bad, but they are
47 # usable. Everything else works.
48 # Opera 5.12 - Yes - everything works.
49 # MS Internet Explorer 4+ - Untested
50 # MS IE 3.x, NS3.x - Untested (Don't support CSS, so everything
51 # should work, but will look ugly).
52 # Mozilla >=0.6 - Untested
54 # All browsers should work, you just might not get the pretty CSS buttons.
56 # If you're favorite browser isn't listed/tested, please test and add it.
59 #############################################################################
63 # This file currently produces valid HTML 4.01 Strict.
65 # If you change it, please save the generated page from your web browser
66 # and then upload it to http://validator.w3.org/ for checking.
68 #############################################################################
70 # Available variables include:
76 #############################################################################
77 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
81 <meta http-equiv="Content-Style-Type" content="text/css">
82 <meta http-equiv="Content-Script-Type" content="text/javascript">
83 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
84 <meta name="robots" content="noindex,nofollow">
86 <title>JunkBuster: Edit actions file - @filename@.action</title>
88 <style type="text/css">
89 body { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
90 background-color: #ffffff;
92 td.light { background-color: #eeeeee; }
93 td.dark { background-color: #dddddd; }
94 table.wide { border-color: white;
96 border-left-width: 10px;
97 border-right-width: 10px;
98 border-top-width: 0px;
99 border-bottom-width: 0px; }
100 tr.actions { background-color: #eeffee; }
101 tr.url1 { background-color: #d0d0ff; }
102 tr.url2 { background-color: #eeeeff; }
103 tr.rule { background-color: #c0c0c0;
107 tr.adv { background-color: #FFFFD0; }
108 td.header { font-weight: bold; }
109 td.url { font-weight: bold; }
110 td.action { font-weight: bold;
111 font-style: italic; }
112 td.nobreak { white-space: nowrap; }
113 a.cmd { white-space: nowrap;
116 background-color: #dddddd;
118 text-decoration: none;
119 border-top: 1px solid #ffffff;
120 border-left: 1px solid #ffffff;
121 border-bottom: 1px solid #000000;
122 border-right: 1px solid #000000; }
123 a.cmd:hover { background-color: #eeeeee; }
124 a.cmd:active { border-top: 1px solid #000000;
125 border-left: 1px solid #000000;
126 border-bottom: 1px solid #ffffff;
127 border-right: 1px solid #ffffff; }
131 <script type="text/javascript">
135 window.alert("The feature you are trying to use has not been implemented yet.");
138 // Non-JS capable browsers will follow the link to a HTML "are you sure?" page
139 // JavaScript-capable browsers will call this function, which does a
140 // client-side prompt for speed. It may kick off the delete directly.
141 // It always returns false to cancel following the link.
142 function remove_pattern(section,pattern,curtext)
144 if (window.confirm("Are you sure you want to delete this URL pattern?\nPattern is: "+unescape(curtext)))
145 { window.location.href="@default-cgi@edit-actions-remove-url?filename=@filename@&ver=@ver@§ion="+section+"&pattern="+pattern+"#s"+section+"urls"; }
155 <table cellpadding="20" cellspacing="10" border="0" width="100%">
158 <p><b><big><big>This is the Internet
159 J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>
160 @version@ on @my-hostname@ (@my-ip-address@),
162 @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>
166 <!-- @if-unstable-start -->
167 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
169 <td style="background-color: #ffdddd" >
170 <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release
171 of the proxy software is not intended for production systems!
172 <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
175 <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>
176 with any problems you encounter.
180 <!-- if-unstable-end@ -->
184 <h2>Editing Actions File - @filename@.action</h2>
186 <span><a class="cmd" href="@default-cgi@edit-actions-section-add?filename=@filename@&ver=@ver@&section=0">Insert new section at top</a></span>
194 <table cellpadding="20" cellspacing="10" border="0" width="100%">
197 <h2>More Junkbuster:</h2>
202 <!-- @if-have-help-info-start -->
205 <h2>Local Junkbuster support:</h2>
207 <!-- @if-have-proxy-info-start -->
208 <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.
209 <!-- if-have-proxy-info-end@ -->
211 <!-- @if-have-adminaddr-info-start -->
212 <p>Address e-mail questions about this service to
213 <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
214 who will be glad to help you.
215 <!-- if-have-adminaddr-info-end@ -->
220 <!-- if-have-help-info-end@ -->
224 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>