SF.net SVN: geany-plugins:[1542] www/staging/content/downloads.html
dmaphy at users.sourceforge.net
dmaphy at xxxxx
Sat Sep 4 18:13:27 UTC 2010
Revision: 1542
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1542&view=rev
Author: dmaphy
Date: 2010-09-04 18:13:26 +0000 (Sat, 04 Sep 2010)
Log Message:
-----------
website: fix version in download site generation
Modified Paths:
--------------
www/staging/content/downloads.html
Modified: www/staging/content/downloads.html
===================================================================
--- www/staging/content/downloads.html 2010-09-03 17:49:14 UTC (rev 1541)
+++ www/staging/content/downloads.html 2010-09-04 18:13:26 UTC (rev 1542)
@@ -2,12 +2,12 @@
<?php
if($handle = opendir('geany-plugins'))
{
-
+
$versions = Array();
while(false !== ($file = readdir($handle)))
{
- if(preg_match("/.tar.gz/", $file))
+ if(preg_match("/.tar.gz$/", $file))
{
$file = substr($file, 14);
@@ -18,10 +18,10 @@
}
closedir($handle);
-
+
$version = max($versions);
}
-
+
echo "Download the latest <a href=\"./geany-plugins/geany-plugins-" . $version . ".NEWS\">Geany-Plugins</a> in version " . $version . ".<br />\n";
?>
<table>
@@ -39,7 +39,7 @@
<td>geany-plugins-<?php echo $version; ?>.tar.bz2</td>
<td><a href="./geany-plugins/geany-plugins-<?php echo $version; ?>.tar.bz2">Download</a></td>
<td><a href="./geany-plugins/geany-plugins-<?php echo $version; ?>.tar.bz2.sig">SIG</a></td>
- </tr>
+ </tr>
<tr>
<td>geany-plugins-<?php echo $version; ?>.exe</td>
<td><a href="./geany-plugins/geany-plugins-<?php echo $version; ?>.exe">Download</a></td>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list