[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4260 - i18nHTML/src/admin
From: |
grothoff |
Subject: |
[GNUnet-SVN] r4260 - i18nHTML/src/admin |
Date: |
Sun, 7 Jan 2007 23:26:24 -0800 (PST) |
Author: grothoff
Date: 2007-01-07 23:26:23 -0800 (Sun, 07 Jan 2007)
New Revision: 4260
Modified:
i18nHTML/src/admin/dig.php
i18nHTML/src/admin/index.php
Log:
fix
Modified: i18nHTML/src/admin/dig.php
===================================================================
--- i18nHTML/src/admin/dig.php 2007-01-08 07:13:32 UTC (rev 4259)
+++ i18nHTML/src/admin/dig.php 2007-01-08 07:26:23 UTC (rev 4260)
@@ -156,7 +156,7 @@
case "totc": // total number of contributed translations
$query2 = "SELECT tid FROM ${i18nHTMLsqlPrefix}map WHERE ";
if ($truid == 2)
- $query2 = $query2 . "ip=$ipaddr";
+ $query2 = $query2 . "ip=\"$ipaddr\" AND uid=$truid";
else
$query2 = $query2 . "uid=$truid";
$result2 = mysql_query($query2, $connection);
Modified: i18nHTML/src/admin/index.php
===================================================================
--- i18nHTML/src/admin/index.php 2007-01-08 07:13:32 UTC (rev 4259)
+++ i18nHTML/src/admin/index.php 2007-01-08 07:26:23 UTC (rev 4260)
@@ -57,10 +57,12 @@
// allow admins to delete accounts (& all translations)
// of lower-level or to grant administrative priviledges
-LILI("accounts.php", "Manage acconts");
+if ($level > 0)
+ LILI("accounts.php", "Manage acconts");
// have a table with legal languages (for signing up)
-LILI("languages.php", "Setup languages");
+if ($uid == 1)
+ LILI("languages.php", "Setup languages");
echo "</ul>\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4260 - i18nHTML/src/admin,
grothoff <=