Synced with stable branch
[privoxy.git] / templates / cgi-error-parse
index 438f158..0c640a4 100644 (file)
 #    true, have-help-info is true.  Used to conditionally include
 #    a grey box for any and all help info.
 #
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 
 <head>
   <title>Privoxy: Parse error</title>
-  <style type="text/css">
-    BODY, P, H1, H2, UL, OL, LI { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
-  </style>
+  <meta http-equiv="Content-Style-Type" content="text/css">
+  <meta http-equiv="Content-Script-Type" content="text/javascript">
+  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta name="robots" content="noindex,nofollow">
+  <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
 </head>
 
-<body bgcolor="#ffffff">
+<body>
 
-  <table cellpadding=20 cellspacing=10 border=0 width=100%>
+  <table cellpadding="20" cellspacing="10" border="0" width="100%">
     <tr>
-      <td bgcolor=#dddddd width=100%>
-        <p><font size=+2><b>This is the Internet J</b></font><font size=+1><b>UNK<i></font><font color="red">BUSTER</font></i></b>
-          <font size=+2><b> @version@ on @my-hostname@ (@my-ip-address@), port @my-port@, @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</b></font></p>
+      <td class="title">
+
+#include mod-title
+
+      </td>
+    </tr>
+
+<!-- @if-unstable-start -->
+# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
+    <tr>
+      <td class="warning">
+
+#include mod-unstable-warning
+
       </td>
     </tr>
+<!-- if-unstable-end@ -->
 
     <tr>
-      <td bgcolor=#eeeeee>
+      <td class="warning">
         <h2>Parse error</h2>
-        <blockquote>
-          <p>The file you're trying to edit is not valid.  You need to fix
-             it using a text editor before you can edit it using the
-             web-based editor.</p>
-          <p>This error should only occur if you edited the file using a text
-             editor.  If you managed to take a valid file and break it this
-             badly using the web-based editor, please file a bug report!</p>
-          <p>When you've fixed the problem, you can go back into the edit
-             interface using the menu below, or by clicking <a 
-             href="edit-actions-list?f=@f@">here</a>.</p>
-        </blockquote>
+         <p>The file you're trying to edit is not valid.  You need to fix
+           it using a text editor before you can edit it using the
+           web-based editor.</p>
+        <p>This error should only occur if you edited the file using a text
+           editor.  If you managed to take a valid file and break it this
+           badly using the web-based editor, please file a bug report!</p>
+        <p>When you've fixed the problem, you can go back into the edit
+           interface using the menu below, or by clicking <a 
+           href="edit-actions-list?f=@f@">here</a>.
+        </p>
       </td>
     </tr>
 
     <tr>
-      <td bgcolor=#dddddd>
+      <td class="box">
         <h2>Problem description:</h2>
         <p>@parse-error@</p>
       </td>
     </tr>
 
     <tr>
-      <td bgcolor=#eeeeee>
+      <td class="box">
         <h2>The line which caused the problem:</h2>
         <pre>@line-raw@</pre>
       </td>
     </tr>
 
     <tr>
-      <td bgcolor=#dddddd>
+      <td class="box">
         <h2>The line which caused the problem, with comments removed</h2>
         <p><code>@line-data@</code></p>
       </td>
     </tr>
 
     <tr>
-      <td bgcolor=#eeeeee>
+      <td class="box">
         <h2>Note</h2>
         <p>Only the first error is reported - the file may contain other
            errors, as well as the one reported above.</p>
     </tr>
 
     <tr>
-      <td bgcolor=#dddddd>
+      <td class="box">
         <h2>More Privoxy:</h2>
-        <ul>@menu@</ul>
+        <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
       </td>
     </tr>
 
-<!-- @if-unstable-start -->
-# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
     <tr>
-      <td bgcolor=#ffdddd>
-        <p><b>Please note that this <font color=red>@code-status@</font> release
-          of the proxy software is not intended for production systems!
-          <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
-        </p>
-       <p>
-<h2>Support and Service via Sourceforge</h2>
-<p>
-We value your feedback. However, to provide you with the best support,
-please note:
-<ul>
-  <li>Use the <a href="http://sourceforge.net/tracker/?group_id=11118&atid=211118">support forum</a> to get
-  help.</li>
-  <li>Submit bugs only thru our <a href="http://sourceforge.net/tracker/?group_id=11118&atid=111118">bug
-      forum</a>. Make sure that the bug has not yet been submitted.</li>
-  <li>Submit feature requests only thru our <a
-      href="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse">feature request forum</a>.</li>
-</ul>
-</p>
-<p>
-For any other issues, feel free to use the <a
-href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a>.
-</p>
+      <td class="info">
+
+#include mod-support-and-service
+
       </td>
     </tr>
-<!-- if-unstable-end@ -->
 
 <!-- @if-have-help-info-start -->
     <tr>
-      <td bgcolor=#dddddd>
-        <h2>Local Privoxy support:</h2>
+      <td class="info">
 
-<!-- @if-have-proxy-info-start -->
-        <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Privoxy installation.         
-<!-- if-have-proxy-info-end@ -->
+#include mod-local-help
 
-<!-- @if-have-adminaddr-info-start -->
-        <p>Address e-mail questions about this service to
-          <a href=mailto:@admin-address@><code>@admin-address@</code></a>,
-          who will be glad to help you.
-<!-- if-have-adminaddr-info-end@ -->
-
-        </p>
       </td>
     </tr>
 <!-- if-have-help-info-end@ -->