SF.net SVN: geany-plugins:[1560] www/staging/content/downloads.html

any0n3 at users.sourceforge.net any0n3 at xxxxx
Sat Sep 4 22:15:35 UTC 2010


Revision: 1560
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1560&view=rev
Author:   any0n3
Date:     2010-09-04 22:15:35 +0000 (Sat, 04 Sep 2010)

Log Message:
-----------
fixed.

Modified Paths:
--------------
    www/staging/content/downloads.html

Modified: www/staging/content/downloads.html
===================================================================
--- www/staging/content/downloads.html	2010-09-04 22:11:51 UTC (rev 1559)
+++ www/staging/content/downloads.html	2010-09-04 22:15:35 UTC (rev 1560)
@@ -65,7 +65,12 @@
 			echo "<tr>";
 			echo "	<td><a href=\"./geany-plugins/geany-plugins-" . $version . ".tar.bz2\">geany-plugins-" . $version . ".tar.bz2</a></td>";
 			echo "	<td><a href=\"./geany-plugins/geany-plugins-" . $version . ".tar.bz2.sig\">SIG</td>";
-			echo "  <td>" . md5_file($dir . "geany-plugins-" .  $version . ".tar.bz2") . "</a>";
+			if ($_GET['hash'] == "sha1")
+			{
+				echo "	<td>" . sha1_file($dir . "geany-plugins-" .  $version . ".tar.bz2") . "</a>";
+			} else {
+				echo "  <td>" . md5_file($dir . "geany-plugins-" .  $version . ".tar.bz2") . "</a>";
+			}
 			echo "</tr>";
 		}
 
@@ -77,7 +82,12 @@
 			echo "<tr>";
 			echo "	<td><a href=\"./geany-plugins/geany-plugins-" .$version . "_setup.exe\">geany-plugins-" . $version . "_setup.exe</a></td>";
 			echo "	<td><a href=\"./geany-plugins/geany-plugins-" .$version . "_setup.exe.sig\">SIG</a></td>";
-			echo "  <td>" . md5_file($dir . "geany-plugins-" .  $version . "_setup.exe.sig") . "</a>";
+			if ($_GET['hash'] == "sha1")
+			{
+				echo "	<td>" . sha1_file($dir . "geany-plugins-" .  $version . "_setup.exe") . "</a>";
+			} else {
+				echo "  <td>" . md5_file($dir . "geany-plugins-" .  $version . "_setup.exe") . "</a>";
+			}
 			echo "</tr>";
 		}
 


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