gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r600 - i18nHTML-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r600 - i18nHTML-docs/WWW
Date: Mon, 4 Apr 2005 01:02:40 -0700 (PDT)

Author: grothoff
Date: 2005-04-04 01:02:38 -0700 (Mon, 04 Apr 2005)
New Revision: 600

Modified:
   i18nHTML-docs/WWW/i18nhtml.inc
Log:
cloning

Modified: i18nHTML-docs/WWW/i18nhtml.inc
===================================================================
--- i18nHTML-docs/WWW/i18nhtml.inc      2005-04-04 07:58:56 UTC (rev 599)
+++ i18nHTML-docs/WWW/i18nhtml.inc      2005-04-04 08:02:38 UTC (rev 600)
@@ -700,9 +700,10 @@
 
 
 
+$fp = fopen($i18nHTMLclone, "w", 0);
+      
 
 
-
 // returns either the translated string
 // or the original string.  Assumes we
 // are passed the original string as occurs
@@ -750,7 +751,7 @@
       }
     }
     if ($i18nHTMLclone) {
-      $fp = fopen($i18nHTMLclone, "w", 0);
+      $global $fp;
       $query = "SELECT * FROM map WHERE name=\"$u\" ORDER BY ranking DESC";
       $result = mysql_query($query, $connection);
       $num = 0;
@@ -767,7 +768,6 @@
          fputs($fp, "INSERT INTO map VALUES(\"$u\", \"$last\", \"$trans\", 
\"$rank\", \"$ip\");\n");
        }
       }
-      fclose($fp);
     }
 
     return fix($a);





reply via email to

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