diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-24 07:09:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-24 07:09:49 +0000 |
commit | d592f76565373181afa15d99c976d168b93f6365 (patch) | |
tree | 555cbd3fb6f650305e13bc75fe8f7005ed634d48 /modules/blog.module | |
parent | 9863dd5a71193a5d8078b582b025a9e5ed4757c2 (diff) | |
download | brdo-d592f76565373181afa15d99c976d168b93f6365.tar.gz brdo-d592f76565373181afa15d99c976d168b93f6365.tar.bz2 |
- Changed "user blogs" to "blogs". Patch by Al.
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/blog.module b/modules/blog.module index a3cd7145e..4852ee128 100644 --- a/modules/blog.module +++ b/modules/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"] .= "<div align=\"right\" id=\"blog_more\">". l(t("more"), "blog", array("title" => t("Read the latest blog entries."))) ."</div>"; - $block["subject"] = t("User blogs"); + $block["subject"] = t("Blogs"); } return $block; } |