This file belongs in
ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
- $Id: index.php,v 1.10 2002/04/03 19:36:04 swa Exp $
+ $Id: index.php,v 1.8 2002/04/02 08:45:22 oes Exp $
$Log: index.php,v $
- Revision 1.10 2002/04/03 19:36:04 swa
- consistent look
-
- Revision 1.9 2002/04/02 19:32:45 oes
- Adding temporary fix for missing curl support on SF (step 2 + 3 on oesterhelt.org)
-
Revision 1.8 2002/04/02 08:45:22 oes
Made script location indepandant
-->
<head>
- <link rel="stylesheet" type="text/css" href="../p_feedback.css">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <style type="text/css">
+ body,td,th { font-family:helvetica,helv,arial,sans-serif; font-size:10px }
+ body { background-color: #ffffff; color: #000000 }
+ h1 { font-size: 140%; marign: 0px; }
+ h2 { font-size: 120%; marign: 0px; }
+ div.title { background-color:#dddddd; border:solid black 1px; margin:20px; padding:20px; }
+ div.box { background-color:#eeeeee; border:solid black 1px; margin:20px; padding:20px; }
+ div.infobox { background-color:#ccccff; border:solid black 1px; margin:20px; padding:20px; width: 60%; }
+ div.errorbox { background-color:#ffdddd; border:solid black 1px; margin:20px; padding:20px; width: 60%; text-align: left; }
+ </style>
+
<?php
/*
* Bookmarklet that leads here:
*/
$my_address = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $PHP_SELF;
-$bookmarklet = "javascript:void(window.open('$my_address?url='+escape(location.href),'Feedback'," .
+$bookmarklet = "javascript:void(window.open('$my_address?url='+escape(location.href), 'Feedback', " .
"'width=600,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus());";
if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Version"] < $required_actions_file_version)
{
- echo ("<title>Invalid Privoxy Action List Feedback</title>
- </head>
- <body><div class=\"title\">Invalid Feedback Submission</div>
- <div align=\"center\">
- <div class=\"errorbox\" align=\"left\"><p>As much as we welcome your feedback, please note that
+ echo ("<title>Invalid Privoxy Action List Feedback</title></head>
+ <body><div class=\"title\"><h1>Invalid Feedback Submission</h1></div>
+ <center>
+ <div class=\"errorbox\"><p>As much as we welcome your feedback, please note that
we can only accept problem reports based on:
<ul>
<li><a href=\"http://www.privoxy.org/\">Privoxy</a> version $required_privoxy_version or later</li>
</ul>
<p>We hope you will understand that we feel unable to maintain concurrent versions of the file.</p>
</div>
- </div>
+ </center>
+ <p>Valid <a href=\"http://validator.w3.org/\">HTML 4.01 Transitional</a></p>
</body>
</html>");
exit;
</head>
<body>
- <div class="title"><a href="http://www.privoxy.org/" target="_blank">Privoxy</a> Action List Feedback - Step 1 of 2</div>
+ <div class="title">
+ <h1>
+ <a href="http://www.privoxy.org" target="_blank">Privoxy</a> Action List Feedback - Step 1 of 2
+ </h1>
+ </div>
<div class="box">
<p>
</div>
<div class="box">
- <!-- FIXME: This must become action="step2.php" as soon as SF supports curl in PHP -->
- <form action="http://www.oesterhelt.org/actions/step2.php" method="post">
+ <form action="step2.php" method="post">
<table border="0" cellpadding="0" cellspacing="4">
</form>
</div>
- <div align=center>
- <div class="infobox" width="60%" align=\"left\">
- <p>
- <big>
- <b>Using <a href="http://www.bookmarklets.com" target="_blank">Bookmarklets</a> for Feedback</b>
- </big>
- </p>
+ <center>
+ <div class="infobox">
+ <h2>Using <a href="http://www.bookmarklets.com" target="_blank">Bookmarklets</a> for Feedback</h2>
<p>
To make it even easier for you, we provide a bookmarklet which will not only take you here from
any troubled page you might be surfing, but also pre-fill the form!
and submit feedback with a single click!</i>
</p>
</div>
- </div>
+ </center>
+
+ <p>Valid <a href="http://validator.w3.org/">HTML 4.01 Transitional</a></p>
</body>
</html>
This file belongs in
ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
- $Id: step2.php,v 1.7 2002/04/03 19:36:04 swa Exp $
+ $Id: step2.php,v 1.6 2002/04/02 07:22:19 oes Exp $
$Log: step2.php,v $
- Revision 1.7 2002/04/03 19:36:04 swa
- consistent look
-
Revision 1.6 2002/04/02 07:22:19 oes
Elimnating duplicate images; using relative link for step3
-->
<head>
- <link rel="stylesheet" type="text/css" href="../p_feedback.css">
-
- <script language="javascript">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <style type="text/css">
+ body,td,th { font-family:helvetica,helv,arial,sans-serif; font-size:10px }
+ body { background-color: #ffffff; color: #000000 }
+ h1 { font-size: 140%; marign: 0px; }
+ h2 { font-size: 120%; marign: 0px; }
+ div.title { background-color:#dddddd; border:solid black 1px; margin:20px; padding:20px; }
+ div.box { background-color:#eeeeee; border:solid black 1px; margin:20px; padding:20px; }
+ div.infobox { background-color:#ccccff; border:solid black 1px; margin:20px; padding:20px; width: 60%; }
+ div.errorbox { background-color:#ffdddd; border:solid black 1px; margin:20px; padding:20px; width: 60%; }
+ </style>
+
+ <script language="javascript" type="text/javascript">
+ <!--
//
// Could be as easy as style="max-wdith: 300px; max-height..." inside the
// <img> tag, but IE doesn't do that. Setting the values directly also
image.height = newheight
}
}
+ //-->
</script>
echo (" <title>Invalid Feedback Submission</title>
</head>
<body>
- <div class=\"title\">Invalid Feedback Submission</div>
- <div align=\"center\">
- <div class=\"errorbox\" align=\"left\">When submitting your feedback please start with
+ <div class=\"title\"><h1>Invalid Feedback Submission</h1></div>
+ <center>
+ <div class=\"errorbox\">When submitting your feedback please start with
<a href=\"index.php\">step 1</a>.
</div>
- </div>
+ </center>
+ <p>Valid <a href=\"http://validator.w3.org/\">HTML 4.01 Transitional</a></p>
</body>
</html>\n");
exit;
echo (" <title>Invalid Feedback Submission</title>
</head>
<body>
- <div class=\"title\">Invalid Feedback Submission</div>
- <div align=\"center\">
- <div class=\"errorbox\" align=\"left\">You need to select the nature of the problem in
+ <div class=\"title\"><h1>Invalid Feedback Submission</h1></div>
+ <center>
+ <div class=\"errorbox\">You need to select the nature of the problem in
<a href=\"javascript:history.back();\">step 1</a>.
</div>
- </div>
+ </center>
+ <p>Valid <a href=\"http://validator.w3.org/\">HTML 4.01 Transitional</a></p>
</body>
</html>\n");
exit;
echo (" <title>Invalid Feedback Submission</title>
</head>
<body>
- <div class=\"title\">Invalid Feedback Submission</div>
- <div align=\"center\">
- <div class=\"errorbox\" align=\"left\">
+ <div class=\"title\"><h1>Invalid Feedback Submission</h1></div>
+ <center>
+ <div class=\"errorbox\">
<p>The URL that you entered (<a href=\"$referrer_url\">$referrer_url</a>)
<br>could not be retrieved.
</p>
<p>Make sure the URL is correct and publicly accessible.</p>
<p><a href=\"javascript:history.back();\">Back to step 1</a></p>
</div>
- </div>
+ </center>
+ <p>Valid <a href=\"http://validator.w3.org/\">HTML 4.01 Transitional</a></p>
</body>
</html>\n");
exit;
</head>
<body>
- <div class="title"><a href="http://www.privoxy.org" target="_blank">Privoxy</a> Action List Feedback - Step 2 of 2</div>
+ <div class="title">
+ <h1>
+ <a href="http://www.privoxy.org" target="_blank">Privoxy</a> Action List Feedback - Step 2 of 2
+ </h1>
+ </div>
<div class="box">
<b>You are about to report that <?php echo ($problem_description) ?> on
* Print the row(s):
*/
echo (" <tr>
- <td rowspan=2>
+ <td rowspan=\"2\">
<input type=\"checkbox\" name=\"block_image[$i]\" value=\"off\">
</td>
<td>
<dt> </dt>
<dd>
- <input type=submit value="Submit">
+ <input type="submit" value="Submit">
</dd>
</dl>
</form>
</div>
+ <p>Valid <a href="http://validator.w3.org/">HTML 4.01 Transitional</a></p>
+
</body>
</html>
This file belongs in
ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
- $Id: step3.php,v 1.7 2002/04/04 10:29:58 oes Exp $
+ $Id: step3.php,v 1.5 2002/04/02 07:22:43 oes Exp $
$Log: step3.php,v $
- Revision 1.7 2002/04/04 10:29:58 oes
- Keeping feedback confidential
-
- Revision 1.6 2002/04/03 19:36:04 swa
- consistent look
-
Revision 1.5 2002/04/02 07:22:43 oes
Cosmetics
-->
<head>
- <link rel="stylesheet" type="text/css" href="../p_feedback.css">
+ <style type="text/css">
+ body, div, p, h1, h2, ul, ol, li, td, th, dl, dt, dd { font-family:helvetica,helv,arial,sans-serif; font-size:10px }
+ body { background-color: #ffffff }
+ div.title { background-color:#dddddd; border:solid black 1px; margin:20px; min-width: 80%; padding:20px; font-size:15px; font-weight:bold }
+ div.box { background-color:#eeeeee; border:solid black 1px; margin:20px; min-width: 80%; padding:20px; font-size:10px }
+ div.infobox { background-color:#ccccff; border:solid black 1px; margin:20px; min-width: 60%; max-width: 60%; padding:20px; font-size:10px; }
+ div.errorbox { background-color:#ffdddd; border:solid black 1px; margin:20px; min-width: 60%; max-width: 60%; padding:20px; font-size:10px; }
+ </style>
<?php
-/*
- * Config:
- */
-$logfile = "results/actions-feedback.txt";
-
/*
* For testing:
*/
error_reporting(E_NONE);
+
/*
* Cannot start with step 3:
*/
/*
* Open the logfile or fail:
*/
+$logfile = "feedback-data.txt";
$fp = fopen($logfile, "a");
if(!$fp)
</p>
<p>
- The developers will review and use your submission to improve the
+ It will be reviewed by the developers and used to improve the
distribution actions file.
</p>
-body, div, p, h1, h2, ul, ol, li, td, th, dl, dt, dd { font-family:helvetica,helv,arial,sans-serif; font-size:10px }
-body { background-color: #ffffff }
-div.title { background-color:#dddddd; border:solid black 1px; margin:20px; min-width: 80%; padding:20px; font-size:15px; font-weight:bold }
-div.box { background-color:#eeeeee; border:solid black 1px; margin:20px; min-width: 80%; padding:20px; font-size:10px }
-div.infobox { background-color:#ccccff; border:solid black 1px; margin:20px; min-width: 60%; max-width: 60%; padding:20px; font-size:10px; }
-div.errorbox { background-color:#ffdddd; border:solid black 1px; margin:20px; min-width: 60%; max-width: 60%; padding:20px; font-size:10px; }
+body,td,th { font-family:helvetica,helv,arial,sans-serif; font-size:10px }
+body { background-color: #ffffff; color: #000000 }
+h1 { font-size: 140%; marign: 0px; }
+h2 { font-size: 120%; marign: 0px; }
+div.title { background-color:#dddddd; border:solid black 1px; margin:20px; padding:20px; }
+div.box { background-color:#eeeeee; border:solid black 1px; margin:20px; padding:20px; }
+div.infobox { background-color:#ccccff; border:solid black 1px; margin:20px; padding:20px; width: 60%; }
+div.errorbox { background-color:#ffdddd; border:solid black 1px; margin:20px; padding:20px; width: 60%; text-align: left; }