#
# Revisions :
# $Log: edit-actions-for-url,v $
+# Revision 1.39 2006/10/04 17:37:54 fabiankeil
+# JavaScript fix for bug report #1570678.
+#
+# Revision 1.38 2006/09/08 12:06:35 fabiankeil
+# Have hide-if-modified-since interpret the random
+# range value as minutes instead of hours. Allows
+# more fine-grained configuration.
+#
+# Revision 1.37 2006/09/05 18:20:14 fabiankeil
+# Sorted alphabetically, fixed spelling mistakes
+# and shortened some descriptions.
+#
# Revision 1.36 2006/08/14 08:29:17 fabiankeil
# Split filter-headers{} into filter-client-headers{}
# and filter-server-headers{}.
<body>
+<!-- @if-one-form-only-start -->
<form method="GET" action="edit-actions-submit" id="myform" name="myform">
+<!-- if-one-form-only-end@ -->
- <table cellpadding="20" cellspacing="10" border="0" width="100%">
+ <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
<tr>
<td class="title">
</tr>
<!-- if-unstable-end@ -->
+<!-- @if-one-form-only-start -->
<tr>
<td class="box">
<h2>Edit Actions
<p><input type="submit" value="Submit" name="Submit"></p>
</td>
</tr>
+<!-- if-one-form-only-end@ -->
<tr><td class="wrapbox">
- <table border="0" cellspacing="2" width="100%" class="wide">
+<!-- @if-multiple-forms-start -->
+<form method="GET" action="edit-actions-submit" id="myform" name="myform">
+ <h2>Edit Actions (Section 1)</h2>
+<!-- if-multiple-forms-end@ -->
+
+ <table summary="Action section 1" border="0" cellspacing="2" width="100%" class="wide">
<tr class="hdr" align="left">
<th class="enh" align="center">Enable</th>
<th class="dish" align="center">Disable</th>
id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
</tr>
+<!-- @if-multiple-forms-start -->
+ </table>
+ <p>
+ <input type="hidden" name="f" value="@f@">
+ <input type="hidden" name="v" value="@v@">
+ <input type="hidden" name="s" value="@s@">
+ <input type="submit" value="Submit changes in Section 1" name="Submit">
+ </p>
+ </form>
+ </td></tr>
+ <tr><td class="wrapbox">
+ <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
+ <h2>Edit Actions (Section 2)</h2>
+ <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
+ <tr class="hdr" align="left">
+ <th class="enh" align="center">Enable</th>
+ <th class="dish" align="center">Disable</th>
+ <th class="noch" align="center">No Change</th>
+ <th>Action</th>
+ <th>Description</th>
+ </tr>
+<!-- if-multiple-forms-end@ -->
<tr class="bg1" align="left" valign="top">
<td class="en1"> </td>
<td class="dis1" align="center" valign="middle"><input type="radio"
disable the filters individually below.</td>
</tr>
@filter-params@
+<!-- @if-multiple-forms-start -->
+ </table>
+ <p>
+ <input type="hidden" name="f" value="@f@">
+ <input type="hidden" name="v" value="@v@">
+ <input type="hidden" name="s" value="@s@">
+ <input type="submit" value="Submit changes in Section 2" name="Submit">
+ </p>
+ </form>
+ </td></tr>
+ <tr><td class="wrapbox">
+ <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
+ <h2>Edit Actions (Section 3)</h2>
+ <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
+ <tr class="hdr" align="left">
+ <th class="enh" align="center">Enable</th>
+ <th class="dish" align="center">Disable</th>
+ <th class="noch" align="center">No Change</th>
+ <th>Action</th>
+ <th>Description</th>
+ </tr>
+<!-- if-multiple-forms-end@ -->
<tr class="bg1" align="left" valign="top">
<td class="en1" align="center" valign="middle"><input type="radio"
name="filter_client_headers" value="Y" @filter-client-headers-y@
for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
<input type="text" name="hide_if_modified_since_param"
id="hide_if_modified_since_param" size="4"
- value="@hide-if-modified-since-param@"> hour(s).
+ value="@hide-if-modified-since-param@"> minute(s).
To appreciate this option a small amount of paranoia is required,
but at least in theory the If-Modified-Since header could be used
to keep track of your visits.
</td>
</tr>
-
+<!-- @if-multiple-forms-start -->
+ </table>
+ <p>
+ <input type="hidden" name="f" value="@f@">
+ <input type="hidden" name="v" value="@v@">
+ <input type="hidden" name="s" value="@s@">
+ <input type="submit" value="Submit changes in Section 3" name="Submit">
+ </p>
+ </form>
+ </td></tr>
+ <tr><td class="wrapbox">
+ <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
+ <h2>Edit Actions (Section 4)</h2>
+ <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
+ <tr class="hdr" align="left">
+ <th class="enh" align="center">Enable</th>
+ <th class="dish" align="center">Disable</th>
+ <th class="noch" align="center">No Change</th>
+ <th>Action</th>
+ <th>Description</th>
+ </tr>
+<!-- if-multiple-forms-end@ -->
<tr class="bg1" align="left" valign="top">
<td class="en1" align="center" valign="middle"><input type="radio"
name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
<td class="dis1"> </td>
<td class="noc1"> </td>
<td> </td>
- <td>Address to redirect to:<br>
+ <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
<input type="text" name="redirect_mode" size="40"
value="@redirect-param@"></td>
</tr>
</tr>
</table>
+<!-- @if-multiple-forms-start -->
+ <p>
+ <input type="hidden" name="f" value="@f@">
+ <input type="hidden" name="v" value="@v@">
+ <input type="hidden" name="s" value="@s@">
+ <input type="submit" value="Submit changes in Section 4" name="Submit">
+ </p>
+ </form>
+<!-- if-multiple-forms-end@ -->
</td></tr>
-
+<!-- @if-one-form-only-start -->
<tr>
<td class="green" align="center">
<p><input type="submit" value="Submit" name="Submit"></p>
</td>
</tr>
-
+<!-- if-one-form-only-end@ -->
<tr>
<td class="box">
<h2>More Privoxy:</h2>
</tr>
<!-- if-have-help-info-end@ -->
- <tr>
- <td>
- <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
- </td>
- </tr>
-
</table>
+<!-- @if-one-form-only-start -->
</form>
-
+<!-- if-one-form-only-end@ -->
<script type="text/javascript">
<!--
show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
- show_send_wafer_opts (document.getElementById("wafer_y").checked);
+ show_send_wafer_opts (document.getElementById("send_wafer_y").checked);
} else if (document.all) {
// alert("IE4");
document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
show_user_agent_opts (document.myform.hide_user_agent_y.checked);
show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
show_limit_connect_opts (document.myform.limit_connect_y.checked);
- show_send_wafer_opts (document.myform.wafer_y.checked);
+ show_send_wafer_opts (document.myform.send_wafer_y.checked);
} else if (document.layers) {
// alert("Netscape 4");
}