projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Require Privoxy 3.0, AF 1.5; Fixed bad help text.
[privoxy.git]
/
doc
/
webserver
/
actions
/
step3.php
diff --git
a/doc/webserver/actions/step3.php
b/doc/webserver/actions/step3.php
index
6ead84e
..
d3b6068
100644
(file)
--- a/
doc/webserver/actions/step3.php
+++ b/
doc/webserver/actions/step3.php
@@
-8,9
+8,15
@@
This file belongs in
ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
This file belongs in
ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
- $Id: step3.php,v 1.1
3 2002/04/07 17:11:4
0 oes Exp $
+ $Id: step3.php,v 1.1
5 2002/04/09 15:08:1
0 oes Exp $
$Log: step3.php,v $
$Log: step3.php,v $
+ Revision 1.15 2002/04/09 15:08:10 oes
+ Restoring lost text change
+
+ Revision 1.14 2002/04/08 17:04:05 oes
+ Adapt to unified stylesheet
+
Revision 1.13 2002/04/07 17:11:40 oes
Tracker submit via curl (no need for user to see), fixing problems, removing monster comments
Revision 1.13 2002/04/07 17:11:40 oes
Tracker submit via curl (no need for user to see), fixing problems, removing monster comments
@@
-168,6
+174,11
@@
if (!isset($name) || ($name == ""))
$name = "anonymous";
}
$name = "anonymous";
}
+/*
+ * Assign unique ID:
+ */
+$item_id = date("U");
+
/*
* Open the logfile or fail:
/*
* Open the logfile or fail:
@@
-202,7
+213,7
@@
if(!$fp)
* Write Head (type, severity, user, client-ip)
* and remarks field:
*/
* Write Head (type, severity, user, client-ip)
* and remarks field:
*/
-fwrite($fp, "\n#FEEDBACK TYPE $problem SEVERITY $severity FROM $name ON $REMOTE_ADDR VERIFIED $url_confirmed TIME " . date("r") ."\n");
+fwrite($fp, "\n#FEEDBACK
ID $item_id
TYPE $problem SEVERITY $severity FROM $name ON $REMOTE_ADDR VERIFIED $url_confirmed TIME " . date("r") ."\n");
if (isset($remarks))
{
$lines = explode("\n", $remarks);
if (isset($remarks))
{
$lines = explode("\n", $remarks);
@@
-231,14
+242,14
@@
switch ($problem)
if (isset($block_image[$i]))
{
fwrite($fp, "#BLOCK-URL: $image_url[$i]\n");
if (isset($block_image[$i]))
{
fwrite($fp, "#BLOCK-URL: $image_url[$i]\n");
- $trackertext .= "Block image: $image_url[$i]\n";
+ $trackertext .= "Block image: $image_url[$i]\n
\n
";
}
}
}
if (isset($manual_image_url) && ($manual_image_url != ""))
{
fwrite($fp, "#BLOCK-URL: $manual_image_url\n");
}
}
}
if (isset($manual_image_url) && ($manual_image_url != ""))
{
fwrite($fp, "#BLOCK-URL: $manual_image_url\n");
- $trackertext .= "Block image: $manual_image_url\n";
+ $trackertext .= "Block image: $manual_image_url\n
\n
";
}
break;
}
break;
@@
-250,7
+261,7
@@
switch ($problem)
if (isset($image_url) && ($image_url != ""))
{
fwrite($fp, "#UNBLOCK-URL: $image_url\n");
if (isset($image_url) && ($image_url != ""))
{
fwrite($fp, "#UNBLOCK-URL: $image_url\n");
- $trackertext .= "Unblock image: $image_url\n";
+ $trackertext .= "Unblock image: $image_url\n
\n
";
}
break;
}
break;
@@
-278,11
+289,11
@@
switch($problem)
default: $category_id="412814"; $summary = "IMPOSSIBLE ";break;
}
default: $category_id="412814"; $summary = "IMPOSSIBLE ";break;
}
-$summary .=
date("U"); /* Must be unique */
+$summary .=
"on " . $referrer_url . " (" .$item_id . ")";
$priority = 3 * $severity;
$priority = 3 * $severity;
-$details = urlencode("On " . date("r") . " new data was received from $name:\n"
- ."URL: $referrer_url\n
$trackertext\nRemarks:\n
\n$remarks");
+$details = urlencode("On " . date("r") . " new data was received from $name:\n
\n
"
+ ."URL: $referrer_url\n
\n$trackertext\nRemarks:
\n$remarks");
$postfields = ( "group_id=11118&atid=460288&func=postadd&category_id=$category_id&artifact_group_id=195890" .
"&priority=$priority&summary=$summary&details=$details" );
$postfields = ( "group_id=11118&atid=460288&func=postadd&category_id=$category_id&artifact_group_id=195890" .
"&priority=$priority&summary=$summary&details=$details" );
@@
-318,7
+329,7
@@
curl_close ($ch);
</p>
<p>
</p>
<p>
-
It will be reviewed by the developers and used
to improve the
+
The developers will review and use your submission
to improve the
distribution actions file.
</p>
distribution actions file.
</p>