PATCH: for web site - fixes bug 6990 - Check Version page handles "CVS-HEAD" passed as version string

From: Ryan Pavlik <abiryan_at_ryand.net>
Date: Mon Jun 14 2004 - 17:59:48 CEST

This is a diff -u (dos2unixed) for users/checkversion.phtml in the
WebCVS tree for the web site. It fixes bug 6990 and a minor HTML picky
thing. Would someone please review and apply this, then resolve bug
6990. Thank you!

Ryan

--- users/check_version.phtml 25 Mar 2004 13:44:53 -0000 1.16
+++ users/check_version.phtml 14 Jun 2004 15:40:33 -0000
@@ -28,12 +28,16 @@
 
 if($parsed_version == $parsed_abi_version)
 {
- print("<h2>You have the current version of Abiword!</h2><BR>");
+ print("<h2>You have the current version of AbiWord!</h2><br>");
 }
 else if($parsed_version > $parsed_abi_version)
 {
    print("<h2>You have a newer version of Abiword</h2><br>");
   
+}
+else if($your_version="CVS-HEAD")
+{
+ print('<h2>You have a development nightly build of AbiWord!</h2><p>You may choose to use this build or an official Stable or Head (Development) build from the download area.</p>');
 }
 else
 {
Received on Mon Jun 14 17:52:14 2004

This archive was generated by hypermail 2.1.8 : Mon Jun 14 2004 - 17:52:14 CEST