svn commit: r16029 - trunk/www/index.html

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2008-11-12 02:54:30-0800
New Revision: 16029

Modified:
   trunk/www/index.html

Log:
Reduced how many times the version string is in our index page.

Modified: trunk/www/index.html
Url: http://argouml.tigris.org/source/browse/argouml/trunk/www/index.html?view=diff&rev=16029&p1=trunk/www/index.html&p2=trunk/www/index.html&r1=16028&r2=16029
==============================================================================
--- trunk/www/index.html	(original)
+++ trunk/www/index.html	2008-11-12 02:54:30-0800
@@ -94,21 +94,22 @@
 </script>
 
 <script type="text/javascript">
+    var LAST_STABLE_VERSION = "0.26";
     if (navigator.appVersion.indexOf("Win")!=-1) {
-        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-0.26/ArgoUML-0.26-setup.exe' onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-0.26-setup.exe')\">Download ArgoUML 0.26 (Windows)</a>");
+        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-"+LAST_STABLE_VERSION+"/ArgoUML-" + LAST_STABLE_VERSION +"-setup.exe' onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-"+LAST_STABLE_VERSION+"-setup.exe')\">Download ArgoUML "+LAST_STABLE_VERSION + " (Windows)</a>");
     }
     else if (navigator.appVersion.indexOf("Mac")!=-1) {
-        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-0.26/ArgoUML-0.26.app.tgz'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-0.26.app.tgz')\">Download ArgoUML 0.26 (Mac)</a>");
+        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-"+LAST_STABLE_VERSION+"/ArgoUML-" + LAST_STABLE_VERSION +".app.tgz'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-"+LAST_STABLE_VERSION+".app.tgz')\">Download ArgoUML "+LAST_STABLE_VERSION + " (Mac)</a>");
     }
     else if (window.navigator.userAgent.indexOf("X11")!=-1) {
-        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-0.26/ArgoUML-0.26.tar.gz'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-0.26.tar.gz')\">Download ArgoUML 0.26 (Linux/BSD)</a>");
+        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-"+LAST_STABLE_VERSION+"/ArgoUML-" + LAST_STABLE_VERSION +".tar.gz'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-"+LAST_STABLE_VERSION+".tar.gz')\">Download ArgoUML "+LAST_STABLE_VERSION+" (Linux/BSD)</a>");
     }
     else if (window.navigator.userAgent.indexOf("Linux")!=-1) {
-        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-0.26/ArgoUML-0.26.tar.gz'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-0.26.tar.gz')\">Download ArgoUML 0.26 (Linux/BSD)</a>");
+        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-"+LAST_STABLE_VERSION+"/ArgoUML-" + LAST_STABLE_VERSION +".tar.gz'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-"+LAST_STABLE_VERSION+".tar.gz')\">Download ArgoUML "+LAST_STABLE_VERSION+" (Linux/BSD)</a>");
     }
 
     else {
-        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-0.26/ArgoUML-0.26.zip'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-0.26.zip')\">Download ArgoUML 0.26</a>");
+        document.write("<a href='http://argouml-downloads.tigris.org/nonav/argouml-"+LAST_STABLE_VERSION+"/ArgoUML-" + LAST_STABLE_VERSION +".zip'  onClick=\"javascript:urchinTracker('DOWNLOAD/ArgoUML-"+LAST_STABLE_VERSION+".zip')\">Download ArgoUML "+LAST_STABLE_VERSION+"</a>");
     }
 </script>
 </div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.