commit-gnue
[Top][All Lists]
Advanced

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

r5426 - trunk/www/web/shared


From: jcater
Subject: r5426 - trunk/www/web/shared
Date: Sat, 20 Mar 2004 15:26:11 -0600 (CST)

Author: jcater
Date: 2004-03-20 15:26:10 -0600 (Sat, 20 Mar 2004)
New Revision: 5426

Modified:
   trunk/www/web/shared/_listdir.php
Log:
fixed <ul> mismatch

Modified: trunk/www/web/shared/_listdir.php
===================================================================
--- trunk/www/web/shared/_listdir.php   2004-03-20 21:20:43 UTC (rev 5425)
+++ trunk/www/web/shared/_listdir.php   2004-03-20 21:26:10 UTC (rev 5426)
@@ -10,9 +10,9 @@
 $handle = opendir( $dir ) ;
 $notyet = true ;
 
+$close = "";
 while ( $entry = readdir($handle) )
    {
-   $close="";
    if ( strpos ( $entry, "tar.gz" ) )
       {
         if ( $notyet )
@@ -24,8 +24,8 @@
         echo "<li><a href=\"$dir/$entry\">" ;
         echo $entry . "</a></li>\n" ;
       }
-   echo "$close";
    }
+echo "$close";
 
 closedir($handle);
 
@@ -34,6 +34,7 @@
 $handle=opendir( $dir ) ;
 $notyet = true ;
 
+$close="";
 while ( $entry = readdir($handle) )
    {
    $close="";
@@ -48,8 +49,8 @@
         echo "<li><a href=\"$dir/$entry\">" ;
         echo $entry . "</a></li>\n" ;
       }
-   echo "$close";
    }
+echo "$close";
 
 closedir($handle);
 
@@ -58,9 +59,9 @@
 $handle=opendir( $dir ) ;
 $notyet = true ;
 
+$close="";
 while ( $entry = readdir($handle) )
    {
-   $close="";
    if ( strpos ( $entry, ".zip" ) )
       {
         if ( $notyet )
@@ -72,8 +73,8 @@
         echo "<li><a href=\"$dir/$entry\">" ;
         echo $entry . "</a><li/>\n" ;
       }
-   echo "$close";
    }
+echo "$close";
 
 closedir($handle);
 
@@ -82,9 +83,9 @@
 $handle=opendir( $dir ) ;
 $notyet = true ;
 
+$close = "";
 while ( $entry = readdir($handle) )
    {
-   $close = "";
    if ( strpos ( $entry, ".exe" ) )
       {
         if ( $notyet )
@@ -96,7 +97,7 @@
         echo "<li><a href=\"$dir/$entry\">" ;
         echo $entry . "</a></li>\n" ;
       }
-   echo "$close";
    }
+echo "$close";
 
 closedir($handle);





reply via email to

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