commit-gnue
[Top][All Lists]
Advanced

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

r5422 - in trunk/www/web: downloads shared


From: jcater
Subject: r5422 - in trunk/www/web: downloads shared
Date: Sat, 20 Mar 2004 15:12:37 -0600 (CST)

Author: jcater
Date: 2004-03-20 15:12:36 -0600 (Sat, 20 Mar 2004)
New Revision: 5422

Modified:
   trunk/www/web/downloads/snapshots.php
   trunk/www/web/shared/_listdir.php
Log:
fixed nightly snapshot display

Modified: trunk/www/web/downloads/snapshots.php
===================================================================
--- trunk/www/web/downloads/snapshots.php       2004-03-20 21:08:57 UTC (rev 
5421)
+++ trunk/www/web/downloads/snapshots.php       2004-03-20 21:12:36 UTC (rev 
5422)
@@ -9,20 +9,23 @@
 
   <p>Nightly snapshots of the GNUe code base are now
   available here. These are primarily useful for
-  developers who wish to test the current CVS base but
+  developers who wish to test the current SVN base but
   cannot use the cvs tools (e.g., people behind a firewall).
   These snapshots are made at approximately midnight (USA and Canada
   Central timezone) each night. Snapshots are kept for
   5 nights before being deleted. Snapshots are available
   in both Unix *.tar.gz and Win32 *.zip formats.</p>
 
-  <p>NOTE: These are CVS snapshots and, as such, may or
-  may not run as expected. If you are looking for the
-  latest released versions of the tools, look
-  <a href="current.php">here</a></p>
+  <p>NOTE: These are snapshots of our development code.
+  As such, they may or  may not run as expected (or at all.) If you
+  are looking for the latest released versions of the tools,
+  look  <a href="current.php">here</a> instead.</p>
 
+
   <? $dir = "snapshots" ; include "../shared/_listdir.php" ; ?>
 
+  <p>The build logs for last night's build are <a 
href="snapshots/build.txt">here.</a></p>
+
 </div>
 
 <?php include "$BASEDIR/shared/_footer.php"; ?>

Modified: trunk/www/web/shared/_listdir.php
===================================================================
--- trunk/www/web/shared/_listdir.php   2004-03-20 21:08:57 UTC (rev 5421)
+++ trunk/www/web/shared/_listdir.php   2004-03-20 21:12:36 UTC (rev 5422)
@@ -1,6 +1,6 @@
 <?
-# list3.inc 
-# 
+# list3.inc
+#
 # lists the files in sub-directory $dir
 # split by file type (*.tar.gz, *.zip and *.exe)
 #
@@ -8,20 +8,23 @@
 # .tar.gz files
 
 $handle = opendir( $dir ) ;
-$notyet = true ; 
+$notyet = true ;
 
-while ( $entry = readdir($handle) ) 
+while ( $entry = readdir($handle) )
    {
-   if ( strpos ( $entry, "tar.gz" ) ) 
+   $close="";
+   if ( strpos ( $entry, "tar.gz" ) )
       {
-        if ( $notyet ) 
+        if ( $notyet )
           {
-            $notyet = false ; 
-            echo "<h3>Source files (*.tar.gz format)</h3>\n" ;
-          } 
-        echo "<img src=\"../e_ball.png\"><a href=\"$dir/$entry\">" ;
-        echo $entry . "</a><br />\n" ; 
+            $notyet = false ;
+            echo "<h3>Source files (*.tar.gz format)</h3>\n<ul>" ;
+            $close="</ul>";
+          }
+        echo "<li><a href=\"$dir/$entry\">" ;
+        echo $entry . "</a></li>\n" ;
       }
+   echo "$close";
    }
 
 closedir($handle);
@@ -31,18 +34,21 @@
 $handle=opendir( $dir ) ;
 $notyet = true ;
 
-while ( $entry = readdir($handle) ) 
+while ( $entry = readdir($handle) )
    {
-   if ( strpos ( $entry, ".deb" ) ) 
+   $close="";
+   if ( strpos ( $entry, ".deb" ) )
       {
-        if ( $notyet ) 
+        if ( $notyet )
           {
-            $notyet = false ; 
+            $notyet = false ;
             echo "<h3>Debian GNU/Linux packages (*.deb format)</h3>\n" ;
-          } 
-        echo "<img src=\"../e_ball.png\"><a href=\"$dir/$entry\">" ;
-        echo $entry . "</a><br />\n" ; 
+            $close="</ul>";
+          }
+        echo "<li><a href=\"$dir/$entry\">" ;
+        echo $entry . "</a></li>\n" ;
       }
+   echo "$close";
    }
 
 closedir($handle);
@@ -52,18 +58,21 @@
 $handle=opendir( $dir ) ;
 $notyet = true ;
 
-while ( $entry = readdir($handle) ) 
+while ( $entry = readdir($handle) )
    {
-   if ( strpos ( $entry, ".zip" ) ) 
+   $close="";
+   if ( strpos ( $entry, ".zip" ) )
       {
-        if ( $notyet ) 
+        if ( $notyet )
           {
-            $notyet = false ; 
+            $notyet = false ;
             echo "<h3>Win 32 source files (*.zip format)</h3>\n" ;
-          } 
-        echo "<img src=\"../e_ball.png\"><a href=\"$dir/$entry\">" ;
-        echo $entry . "</a><br />\n" ; 
+            $close="</ul>";
+          }
+        echo "<li><a href=\"$dir/$entry\">" ;
+        echo $entry . "</a><li/>\n" ;
       }
+   echo "$close";
    }
 
 closedir($handle);
@@ -73,18 +82,21 @@
 $handle=opendir( $dir ) ;
 $notyet = true ;
 
-while ( $entry = readdir($handle) ) 
+while ( $entry = readdir($handle) )
    {
-   if ( strpos ( $entry, ".exe" ) ) 
+   $close = "";
+   if ( strpos ( $entry, ".exe" ) )
       {
-        if ( $notyet ) 
+        if ( $notyet )
           {
-            $notyet = false ; 
+            $notyet = false ;
             echo "<h3>Win 32 setup files (*.exe format)</h3>\n" ;
-          } 
-        echo "<img src=\"../e_ball.png\"><a href=\"$dir/$entry\">" ;
-        echo $entry . "</a><br />\n" ; 
+            $close="</ul>";
+          }
+        echo "<li><a href=\"$dir/$entry\">" ;
+        echo $entry . "</a></li>\n" ;
       }
+   echo "$close";
    }
 
 closedir($handle);





reply via email to

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