diff --git a/functions.js b/functions.js
index 229303c42..e9cbed91b 100644
--- a/functions.js
+++ b/functions.js
@@ -1852,7 +1852,6 @@ function displayHelpInfobox(topic_id) {
var w = window.open(url, "ttrss_help",
"status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0");
- return false;
}
function focus_element(id) {
diff --git a/modules/help.php b/modules/help.php
index 3f6968db7..415870d45 100644
--- a/modules/help.php
+++ b/modules/help.php
@@ -3,7 +3,7 @@
if (!$_GET["noheaders"]) {
print "
- ";
@@ -28,7 +28,7 @@
WHERE id = '$uid'");
if (db_num_rows($result) == 0) {
- print "
User not found
";
+ print "
".__('User not found')."
";
return;
}
@@ -36,8 +36,6 @@
$login = db_fetch_result($result, 0, "login");
- // print "
$login
";
-
print "
";
$last_login = date(get_pref($link, 'LONG_DATE_FORMAT'),
@@ -49,21 +47,9 @@
$access_level = db_fetch_result($result, 0, "access_level");
$stored_articles = db_fetch_result($result, 0, "stored_articles");
- // print "Username | $login |
";
- // print "Access level | $access_level |
";
print "".__('Registered')." | $created |
";
print "".__('Last logged in')." | $last_login |
";
-/* $result = db_query($link, "SELECT
- SUM(LENGTH(content)) AS db_size
- FROM ttrss_user_entries,ttrss_entries
- WHERE owner_uid = '$uid' AND ref_id = id");
-
- $db_size = round(db_fetch_result($result, 0, "db_size") / 1024);
-
- print "".__('Stored articles').
- " | $stored_articles (${db_size}K) |
"; */
-
$result = db_query($link, "SELECT COUNT(id) as num_feeds FROM ttrss_feeds
WHERE owner_uid = '$uid'");
diff --git a/register.php b/register.php
index 15caf7d38..bb868beb4 100644
--- a/register.php
+++ b/register.php
@@ -190,7 +190,7 @@
|
|
- "
+
|