Add warnings when people attempt to download deprecated versions.
[htmlpurifier-web.git] / releases / warning.xhtml
blobe41f05ab249210645452ec972a6f735e5696d7eb
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html
5 xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:xi="http://www.w3.org/2001/XInclude"
7 xml:lang="en">
8 <head>
9 <title>Deprecated version warning - HTML Purifier</title>
10 <xi:include href="common-meta.xml" xpointer="xpointer(/*/node())" />
11 <meta name="description" content="A warning against deprecated version of HTML Purifier." />
12 <meta name="keywords" content="HTMLPurifier, HTML Purifier, HTML, filter, filtering, standards, compliant, deprecated, warning, donotuse" />
13 </head>
14 <body>
16 <xi:include href="common-header.xml" xpointer="xpointer(/*/node())" />
17 <h1 id="title">Deprecated version warning</h1>
19 <div id="content">
21 <p>
22 You have attempted to download a deprecated version of a file published
23 by HTML Purifier (usually the HTML Purifier library itself). While
24 we keep these versions publically available through this <code>releases/</code>
25 directory as well as the
26 <a href="http://htmlpurifier.org/svnroot/htmlpurifier/tags">Subversion repository</a>,
27 usage of these old versions is strongly discouraged, as they are
28 unsupported and may contain critical bugs or security problems.
29 </p>
31 <h2>But I need the older version!</h2>
33 <p>
34 If you were pointed here via a link from another website, you may
35 be interested in our <a href="../download.html">downloads</a> page,
36 which contains links to the most recent versions of HTML Purifier.
37 </p>
39 <p>
40 If there is an incompatibility between your code and the more recent version,
41 please post your issues in the <a href="../phorum">forums</a> and we
42 will try to help you out as best we can.
43 </p>
45 <h2>Download</h2>
47 <form method="post" action="" style="text-align:center;" class="warning">
48 <p>
49 I understand the risks of using an older version and still wish to download.<br />
50 <input type="submit" name="agree" value="Yes" />
51 </p>
52 </form>
54 <p>
55 To use <code>wget</code>, add the <code>--post-data=""</code> flag to your command.
56 </p>
58 </div>
60 </body>
61 </html>