From 46ea3659ddb208bd5b655272199e5a655eb21a98 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Thu, 25 Oct 2001 13:25:36 +0000 Subject: - added a logout link to the user menu. - fixed some untranslated strings in the user.module. --- modules/user.module | 7 ++++--- modules/user/user.module | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/user.module b/modules/user.module index 418ed4713..1ea99a00d 100644 --- a/modules/user.module +++ b/modules/user.module @@ -249,6 +249,7 @@ function user_link($type) { if ($type == "menu") { $links[] = "". t("account settings") .""; + $links[] = "
". t("logout") .""; } if ($type == "admin") { @@ -735,9 +736,9 @@ function user_edit($edit = array()) { } function user_menu() { - $links[] = "view user information"; - $links[] = "edit user information"; - $links[] = "logout"; + $links[] = "". t("view user information") .""; + $links[] = "". t("edit user information") .""; + $links[] = "". t("logout") .""; return "
". implode(" · ", $links) ."
"; } diff --git a/modules/user/user.module b/modules/user/user.module index 418ed4713..1ea99a00d 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -249,6 +249,7 @@ function user_link($type) { if ($type == "menu") { $links[] = "". t("account settings") .""; + $links[] = "
". t("logout") .""; } if ($type == "admin") { @@ -735,9 +736,9 @@ function user_edit($edit = array()) { } function user_menu() { - $links[] = "view user information"; - $links[] = "edit user information"; - $links[] = "logout"; + $links[] = "". t("view user information") .""; + $links[] = "". t("edit user information") .""; + $links[] = "". t("logout") .""; return "
". implode(" · ", $links) ."
"; } -- cgit v1.2.3