From d592f76565373181afa15d99c976d168b93f6365 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 May 2003 07:09:49 +0000 Subject: - Changed "user blogs" to "blogs". Patch by Al. --- modules/blog/blog.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/blog/blog.module') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index a3cd7145e..4852ee128 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -213,7 +213,7 @@ function blog_link($type, $node = 0, $main) { $links = array(); if ($type == "page" && user_access("access content")) { - $links[] = l(t("user blogs"), "blog", array("title" => t("Read the latest blog entries."))); + $links[] = l(t("blogs"), "blog", array("title" => t("Read the latest blog entries."))); } if ($type == "menu.create" && user_access("maintain personal blog")) { @@ -241,14 +241,14 @@ function blog_link($type, $node = 0, $main) { function blog_block($op = "list", $delta = 0) { global $user; if ($op == "list") { - $block[0]["info"] = t("User blogs"); + $block[0]["info"] = t("Blogs"); return $block; } else { if (user_access("access content")) { $block["content"] = node_title_list(db_query_range("SELECT u.uid, u.name, n.created, n.title, n.nid FROM node n LEFT JOIN users u ON n.uid = u.uid WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.nid DESC", 0, 10)); $block["content"] .= "
". l(t("more"), "blog", array("title" => t("Read the latest blog entries."))) ."
"; - $block["subject"] = t("User blogs"); + $block["subject"] = t("Blogs"); } return $block; } -- cgit v1.2.3