[Swift-commit] r7063 - SwiftApps/tryswift

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Thu Sep 12 14:07:12 CDT 2013


Author: davidk
Date: 2013-09-12 14:07:12 -0500 (Thu, 12 Sep 2013)
New Revision: 7063

Removed:
   SwiftApps/tryswift/test.php
Modified:
   SwiftApps/tryswift/index.php
   SwiftApps/tryswift/tryswift.php
Log:
Formatting


Modified: SwiftApps/tryswift/index.php
===================================================================
--- SwiftApps/tryswift/index.php	2013-09-12 19:02:09 UTC (rev 7062)
+++ SwiftApps/tryswift/index.php	2013-09-12 19:07:12 UTC (rev 7063)
@@ -42,7 +42,7 @@
 
                   $html_filename="scripts/" . basename($script, ".swift") . ".html";
                   if(file_exists($html_filename)) {
-                     echo "<a href=\"$html_filename\" target=\"_blank\">(info)</a>\n";
+                     echo "<a href=\"$html_filename\" target=\"_blank\">[info]</a>\n";
                   }   
 
                   echo "</li>\n";    

Deleted: SwiftApps/tryswift/test.php
===================================================================
--- SwiftApps/tryswift/test.php	2013-09-12 19:02:09 UTC (rev 7062)
+++ SwiftApps/tryswift/test.php	2013-09-12 19:07:12 UTC (rev 7063)
@@ -1,23 +0,0 @@
-<?php 
-
-$cmd = "ping -c 100 127.0.0.1";
-
-$descriptorspec = array(
-   0 => array("pipe", "r"),   // stdin is a pipe that the child will read from
-   1 => array("pipe", "w"),   // stdout is a pipe that the child will write to
-   2 => array("pipe", "w")    // stderr is a pipe that the child will write to
-);
-
-flush();
-
-$process = proc_open($cmd, $descriptorspec, $pipes, realpath('./'), array());
-echo "<pre>";
-if (is_resource($process)) {
-    while ($s = fgets($pipes[1])) {
-        print $s;
-        flush();
-    }
-}
-echo "</pre>";
-?>
-

Modified: SwiftApps/tryswift/tryswift.php
===================================================================
--- SwiftApps/tryswift/tryswift.php	2013-09-12 19:02:09 UTC (rev 7062)
+++ SwiftApps/tryswift/tryswift.php	2013-09-12 19:07:12 UTC (rev 7063)
@@ -104,7 +104,7 @@
    print "<table cellspacing=\"0\" title=\"List of Files\">\n" .
          "<caption>List of Files</caption>\n" . 
          $filehtml .
-         "</table>\n";
+         "</table><br><br>\n";
 }
 
 ?>




More information about the Swift-commit mailing list