gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r619 - GNUnet-docs/WWW doodle doodle-docs/WWW i18nHTML/src


From: grothoff
Subject: [GNUnet-SVN] r619 - GNUnet-docs/WWW doodle doodle-docs/WWW i18nHTML/src i18nHTML-docs/WWW
Date: Tue, 5 Apr 2005 22:40:57 -0700 (PDT)

Author: grothoff
Date: 2005-04-05 22:40:49 -0700 (Tue, 05 Apr 2005)
New Revision: 619

Modified:
   GNUnet-docs/WWW/i18nhtml.inc
   doodle-docs/WWW/i18nhtml.inc
   doodle/configure.ac
   doodle/ltmain.sh
   i18nHTML-docs/WWW/i18nhtml.inc
   i18nHTML/src/i18nhtml.inc
Log:
fix

Modified: GNUnet-docs/WWW/i18nhtml.inc
===================================================================
--- GNUnet-docs/WWW/i18nhtml.inc        2005-04-06 05:39:19 UTC (rev 618)
+++ GNUnet-docs/WWW/i18nhtml.inc        2005-04-06 05:40:49 UTC (rev 619)
@@ -911,7 +911,7 @@
   DD($b);
 }
 function LILI($a,$b) {
-  echo "<li><a href=\"$a\">" . translateLink_($b) . "</li>";
+  echo "<li><a href=\"$a\">" . translateLink_($b) . "</a></li>";
 }
 function IMG($src, $alt, $align="CENTER", $width, $height, $border=0, 
$hspace=0, $vspace=0) {
   echo IMG_($src, $alt, $align, $width, $height, $border, $hspace, $vspace);

Modified: doodle/configure.ac
===================================================================
--- doodle/configure.ac 2005-04-06 05:39:19 UTC (rev 618)
+++ doodle/configure.ac 2005-04-06 05:40:49 UTC (rev 619)
@@ -1,5 +1,5 @@
 # This file is part of doodle.
-# (C) 2004 Christian Grothoff (and other contributing authors)
+# (C) 2004, 2005 Christian Grothoff (and other contributing authors)
 #
 # doodle is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published
@@ -21,8 +21,8 @@
 #
 #
 AC_PREREQ(2.57)
-AC_INIT([doodle], [0.6.2],address@hidden)
-AM_INIT_AUTOMAKE([doodle], [0.6.2])
+AC_INIT([doodle], [0.6.2a],address@hidden)
+AM_INIT_AUTOMAKE([doodle], [0.6.2a])
 AM_CONFIG_HEADER([config.h])
 
 AH_TOP([#define _GNU_SOURCE  1])

Modified: doodle/ltmain.sh
===================================================================
--- doodle/ltmain.sh    2005-04-06 05:39:19 UTC (rev 618)
+++ doodle/ltmain.sh    2005-04-06 05:40:49 UTC (rev 619)
@@ -44,7 +44,7 @@
 PROGRAM=ltmain.sh
 PACKAGE=libtool
 VERSION=1.5.6
-TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 220 $"
+TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $"
 
 
 # Check that we have a working $echo.
@@ -2945,7 +2945,7 @@
 
        # Check that each of the things are valid numbers.
        case $current in
-       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+       
0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9])
 ;;
        *)
          $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 
1>&2
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -2954,7 +2954,7 @@
        esac
 
        case $revision in
-       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+       
0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9])
 ;;
        *)
          $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 
1>&2
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -2963,7 +2963,7 @@
        esac
 
        case $age in
-       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+       
0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9])
 ;;
        *)
          $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2

Modified: doodle-docs/WWW/i18nhtml.inc
===================================================================
--- doodle-docs/WWW/i18nhtml.inc        2005-04-06 05:39:19 UTC (rev 618)
+++ doodle-docs/WWW/i18nhtml.inc        2005-04-06 05:40:49 UTC (rev 619)
@@ -911,7 +911,7 @@
   DD($b);
 }
 function LILI($a,$b) {
-  echo "<li><a href=\"$a\">" . translateLink_($b) . "</li>";
+  echo "<li><a href=\"$a\">" . translateLink_($b) . "</a></li>";
 }
 function IMG($src, $alt, $align="CENTER", $width, $height, $border=0, 
$hspace=0, $vspace=0) {
   echo IMG_($src, $alt, $align, $width, $height, $border, $hspace, $vspace);

Modified: i18nHTML/src/i18nhtml.inc
===================================================================
--- i18nHTML/src/i18nhtml.inc   2005-04-06 05:39:19 UTC (rev 618)
+++ i18nHTML/src/i18nhtml.inc   2005-04-06 05:40:49 UTC (rev 619)
@@ -700,10 +700,9 @@
 
 
 
-//$fp = fopen($i18nHTMLclone, "w", 0);
-      
 
 
+
 // returns either the translated string
 // or the original string.  Assumes we
 // are passed the original string as occurs
@@ -721,7 +720,6 @@
   global $lang;
   global $i18nHTMLrecordMode;
   global $i18nHTMLhasTranslation;
-//  global $i18nHTMLclone;
   
   $i18nHTMLhasTranslation = 1; // assume translation until failure
 
@@ -750,26 +748,6 @@
         mysql_query($query, $connection);
       }
     }
-/*    if ($i18nHTMLclone) {
-      global $fp;
-      $query = "SELECT * FROM map WHERE name=\"$u\" ORDER BY ranking DESC";
-      $result = mysql_query($query, $connection);
-      $num = 0;
-      if ($result)
-        $num = mysql_num_rows($result);
-      $last = "English";
-      for ($i=0;$i<$num;$i++) {
-        $row = mysql_fetch_array($result);
-       if ($last != mysql_real_escape_string($row["lang"])) {
-         $last = mysql_real_escape_string($row["lang"]);
-         $trans = mysql_real_escape_string($row["translation"]);
-         $rank = $row["ranking"];
-         $ip = $row["ip"];
-         fputs($fp, "INSERT INTO map VALUES(\"$u\", \"$last\", \"$trans\", 
$rank, \"$ip\");\n");
-       }
-      }
-    } */
-
     return fix($a);
   }
   // attempt to get translations, ranked for best
@@ -933,7 +911,7 @@
   DD($b);
 }
 function LILI($a,$b) {
-  echo "<li><a href=\"$a\">" . translateLink_($b) . "</li>";
+  echo "<li><a href=\"$a\">" . translateLink_($b) . "</a></li>";
 }
 function IMG($src, $alt, $align="CENTER", $width, $height, $border=0, 
$hspace=0, $vspace=0) {
   echo IMG_($src, $alt, $align, $width, $height, $border, $hspace, $vspace);

Modified: i18nHTML-docs/WWW/i18nhtml.inc
===================================================================
--- i18nHTML-docs/WWW/i18nhtml.inc      2005-04-06 05:39:19 UTC (rev 618)
+++ i18nHTML-docs/WWW/i18nhtml.inc      2005-04-06 05:40:49 UTC (rev 619)
@@ -700,10 +700,9 @@
 
 
 
-//$fp = fopen($i18nHTMLclone, "w", 0);
-      
 
 
+
 // returns either the translated string
 // or the original string.  Assumes we
 // are passed the original string as occurs
@@ -721,7 +720,6 @@
   global $lang;
   global $i18nHTMLrecordMode;
   global $i18nHTMLhasTranslation;
-//  global $i18nHTMLclone;
   
   $i18nHTMLhasTranslation = 1; // assume translation until failure
 
@@ -750,26 +748,6 @@
         mysql_query($query, $connection);
       }
     }
-/*    if ($i18nHTMLclone) {
-      global $fp;
-      $query = "SELECT * FROM map WHERE name=\"$u\" ORDER BY ranking DESC";
-      $result = mysql_query($query, $connection);
-      $num = 0;
-      if ($result)
-        $num = mysql_num_rows($result);
-      $last = "English";
-      for ($i=0;$i<$num;$i++) {
-        $row = mysql_fetch_array($result);
-       if ($last != mysql_real_escape_string($row["lang"])) {
-         $last = mysql_real_escape_string($row["lang"]);
-         $trans = mysql_real_escape_string($row["translation"]);
-         $rank = $row["ranking"];
-         $ip = $row["ip"];
-         fputs($fp, "INSERT INTO map VALUES(\"$u\", \"$last\", \"$trans\", 
$rank, \"$ip\");\n");
-       }
-      }
-    } */
-
     return fix($a);
   }
   // attempt to get translations, ranked for best
@@ -933,7 +911,7 @@
   DD($b);
 }
 function LILI($a,$b) {
-  echo "<li><a href=\"$a\">" . translateLink_($b) . "</li>";
+  echo "<li><a href=\"$a\">" . translateLink_($b) . "</a></li>";
 }
 function IMG($src, $alt, $align="CENTER", $width, $height, $border=0, 
$hspace=0, $vspace=0) {
   echo IMG_($src, $alt, $align, $width, $height, $border, $hspace, $vspace);




reply via email to

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