Revision: 6488
http://languagetool.svn.sourceforge.net/languagetool/?rev=6488&view=rev
Author: dnaber
Date: 2012-02-09 13:26:45 +0000 (Thu, 09 Feb 2012)
Log Message:
-----------
use download include also on homepage; change PHP in include so HTML
highlighting works better in editor
Modified Paths:
--------------
trunk/website/include/download.php
trunk/website/www/index.php
Modified: trunk/website/include/download.php
===================================================================
--- trunk/website/include/download.php 2012-02-09 06:59:07 UTC (rev 6487)
+++ trunk/website/include/download.php 2012-02-09 13:26:45 UTC (rev 6488)
@@ -6,9 +6,9 @@
?>
<div id="downloadButton">
- <?php print "<a style=\"display: block\"
href=\"$downloadPath/LanguageTool-$version.oxt\">"; ?>
+ <a style="display: block" href="<?php print $downloadPath
?>/LanguageTool-<?php print $version ?>.oxt">
<span class="languagetool">LanguageTool</span><br/>
- <?php print "<span class=\"download\">$downloadLabel<br/></span>"; ?>
- <?php print "<span class=\"version\">Version $version
($filesize MB)</span>"; ?>
+ <span class="download"><?php print $downloadLabel ?><br/></span>
+ <span class="version">Version <?php print $version ?> (<?php print
$filesize ?> MB)</span>
</a>
</div>
Modified: trunk/website/www/index.php
===================================================================
--- trunk/website/www/index.php 2012-02-09 06:59:07 UTC (rev 6487)
+++ trunk/website/www/index.php 2012-02-09 13:26:45 UTC (rev 6488)
@@ -42,9 +42,10 @@
<div class="downloadSection">
<div id="downloadButton">
- <a style="display: block" href="download/LanguageTool-1.6.oxt"><span
- class="languagetool">LanguageTool</span><br/><span
class="download">Download<br/>
- </span><span class="version">Version 1.6 (29 MB)</span></a>
+ <?php
+ $downloadPath = "download";
+ include("../include/download.php");
+ ?>
</div>
<ul>
<li>Requires <?=show_link("Java 6",
"http://www.java.com/en/download/manual.jsp", 0)?> or later.</li>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs