[Analogue-commits] r113 - in www: . include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Apr 25 12:48:11 CEST 2009
Author: gsimpson
Date: 2009-04-25 12:48:11 +0200 (Sat, 25 Apr 2009)
New Revision: 113
Modified:
www/downloads.php
www/include/side_bar.inc
Log:
Add one place only for setting stable version
Modified: www/downloads.php
===================================================================
--- www/downloads.php 2009-04-25 10:44:40 UTC (rev 112)
+++ www/downloads.php 2009-04-25 10:48:11 UTC (rev 113)
@@ -45,7 +45,8 @@
<h1>Downloads</h1>
<h2>Stable Version</h2>
- <p>The current stable release of <strong>analogue</strong> is version 0.6-6. This version is
+ <p>The current stable release of <strong>analogue</strong> is version
+ <?php echo '{$stable_version}'; ?>. This version is
<a href="http://cran.r-project.org/web/packages/analogue/index.html">available from</a> the
CRAN mirrors.</p>
Modified: www/include/side_bar.inc
===================================================================
--- www/include/side_bar.inc 2009-04-25 10:44:40 UTC (rev 112)
+++ www/include/side_bar.inc 2009-04-25 10:48:11 UTC (rev 113)
@@ -1,11 +1,12 @@
<?php
- echo "
+ $stable_version = "0.6-6";
+ echo "
<div id=\"sidebar\">
<h1>Downloads</h1>
<div class=\"left-box\">
<ul class=\"sidemenu\">
- <li><a href=\"http://cran.r-project.org/web/packages/analogue/index.html\">Stable version (0.6-6)</a></li>
+ <li><a href=\"http://cran.r-project.org/web/packages/analogue/index.html\">Stable version ({$stable_version})</a></li>
<li><a href=\"http://r-forge.r-project.org/R/?group_id=69\">Development version</a></li>
</ul>
</div>
@@ -25,5 +26,5 @@
</div>
</div>
- ";
+ ";
?>
\ No newline at end of file
More information about the Analogue-commits
mailing list