commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9578 - trunk/www/web/shared


From: reinhard
Subject: [gnue] r9578 - trunk/www/web/shared
Date: Mon, 14 May 2007 06:48:05 -0500 (CDT)

Author: reinhard
Date: 2007-05-14 06:48:04 -0500 (Mon, 14 May 2007)
New Revision: 9578

Modified:
   trunk/www/web/shared/_listdir.php
Log:
Fix to file type handling.


Modified: trunk/www/web/shared/_listdir.php
===================================================================
--- trunk/www/web/shared/_listdir.php   2007-05-12 18:46:01 UTC (rev 9577)
+++ trunk/www/web/shared/_listdir.php   2007-05-14 11:48:04 UTC (rev 9578)
@@ -55,7 +55,7 @@
       if ( $notyet )
         {
            $notyet = false ;
-           echo "<h3>$descr (*.$ext format)</h3><ul>\n" ;
+           echo "<h3>$descr (*$ext format)</h3><ul>\n" ;
            $close="</ul>";
         }
       echo "<li><a href=\"$dir/$file\">" ;
@@ -65,9 +65,9 @@
 
 }
 
-handleFileType("tar.gz", "Source files", $dir, $sortby);
-handleFileType("zip", "Source files", $dir, $sortby);
-handleFileType("deb", "Debian GNU/Linux Packages", $dir, $sortby);
-handleFileType("rpm", "GNU/Linux RPM Packages", $dir, $sortby);
-handleFileType("dmg", "Mac OS X Disk Images", $dir, $sortby);
-handleFileType("exe", "Windows Installation Files", $dir, $sortby);
+handleFileType(".tar.gz", "Source files", $dir, $sortby);
+handleFileType(".zip", "Source files", $dir, $sortby);
+handleFileType(".deb", "Debian GNU/Linux Packages", $dir, $sortby);
+handleFileType(".rpm", "GNU/Linux RPM Packages", $dir, $sortby);
+handleFileType(".dmg", "Mac OS X Disk Images", $dir, $sortby);
+handleFileType(".exe", "Windows Installation Files", $dir, $sortby);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]