[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4243 - i18nHTML/src/admin
From: |
grothoff |
Subject: |
[GNUnet-SVN] r4243 - i18nHTML/src/admin |
Date: |
Sat, 6 Jan 2007 17:34:06 -0800 (PST) |
Author: grothoff
Date: 2007-01-06 17:34:03 -0800 (Sat, 06 Jan 2007)
New Revision: 4243
Modified:
i18nHTML/src/admin/commitMassTranslation.php
i18nHTML/src/admin/commitTranslation.php
i18nHTML/src/admin/signup.php
Log:
fix
Modified: i18nHTML/src/admin/commitMassTranslation.php
===================================================================
--- i18nHTML/src/admin/commitMassTranslation.php 2007-01-07 00:46:00 UTC
(rev 4242)
+++ i18nHTML/src/admin/commitMassTranslation.php 2007-01-07 01:34:03 UTC
(rev 4243)
@@ -84,8 +84,8 @@
W("Also, a single displayed %% sign must be translated into two (%%%%)
such signs.");
P();
} else {
- $query = "INSERT INTO ${i18nHTMLsqlPrefix}map VALUES(\"$enc_sql\",
\"$lang\", " .
- "\"$val_sql\", 1, \"" . $_SERVER['REMOTE_ADDR'] . "\", $uid);";
+ $query = "INSERT INTO ${i18nHTMLsqlPrefix}map
(name,lang,translation,IP,uid) VALUES(\"$enc_sql\", \"$lang\", " .
+ "\"$val_sql\", \"" . $_SERVER['REMOTE_ADDR'] . "\", $uid);";
mysql_query($query, $connection);
W("Storing translation for "%s" = "%s".",
ARRAY(stripslashes($enc_sql),
Modified: i18nHTML/src/admin/commitTranslation.php
===================================================================
--- i18nHTML/src/admin/commitTranslation.php 2007-01-07 00:46:00 UTC (rev
4242)
+++ i18nHTML/src/admin/commitTranslation.php 2007-01-07 01:34:03 UTC (rev
4243)
@@ -74,7 +74,7 @@
generateFooter();
echo "</body></html>";
} else {
- $query = "INSERT INTO ${i18nHTMLsqlPrefix}map VALUES(\"$text_sql\",
\"$lang\", " .
+ $query = "INSERT INTO ${i18nHTMLsqlPrefix}map
(name,lang,translation,IP,uid) VALUES(\"$text_sql\", \"$lang\", " .
"\"$translation_sql\", \"" . $_SERVER['REMOTE_ADDR'] . "\",
$uid);";
$result = mysql_query($query, $connection);
if ($result) {
Modified: i18nHTML/src/admin/signup.php
===================================================================
--- i18nHTML/src/admin/signup.php 2007-01-07 00:46:00 UTC (rev 4242)
+++ i18nHTML/src/admin/signup.php 2007-01-07 01:34:03 UTC (rev 4243)
@@ -88,7 +88,7 @@
"recover or change your password later.")) {
$password = mysql_real_escape_string($password);
$password = crypt($password, "salty");
- $query = "INSERT INTO " . $i18nHTMLsqlPrefix . "accounts
(username,password,realname,allowed,level)
VALUES(\"$login\",\"$password\",\"$realname\",\"$language\",0);";
+ $query = "INSERT INTO ${i18nHTMLsqlPrefix}accounts
(username,password,realname,allowed,level)
VALUES(\"$login\",\"$password\",\"$realname\",\"$language\",0);";
mysql_query($query, $connection);
W("E-mail with password sent, login %s.\n",
extlink_("login.php?xlang=$language", "here"));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4243 - i18nHTML/src/admin,
grothoff <=