summaryrefslogtreecommitdiff
path: root/modules/blog/blog.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r--modules/blog/blog.module12
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 3d4dfd04e..9b091b735 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -8,13 +8,8 @@ function blog_settings() {
return $output;
}
-function blog_node($field) {
- global $user;
-
- $info["name"] = t("personal blog entry");
- $info["description"] = t("A blog is a regularly updated journal made up of individual entries, often called posts, that are time stamped and typically arranged by the day, with the newest on top (a diary is the reverse). They tend to be quite personal, often containing links to things you've seen, or to editorials that you find interesting. Some blogs also contain original material written solely for the blog. Since a Blog is personal, you and only you have full control over what you publish. The most interesting blog entries or those blog entries that fit the site's topic well might get promoted to the front page by the community or by users with the access do this.");
-
- return $info[$field];
+function blog_node_name($node) {
+ return t("personal blog entry");
}
function blog_perm() {
@@ -85,6 +80,9 @@ function blog_help($section) {
case 'node/add/blog':
$output = variable_get('blog_help', '');
break;
+ case 'node/add#blog':
+ $output = t("A blog is a regularly updated journal made up of individual entries, often called posts, that are time stamped and typically arranged by the day, with the newest on top (a diary is the reverse). They tend to be quite personal, often containing links to things you've seen, or to editorials that you find interesting. Some blogs also contain original material written solely for the blog. Since a Blog is personal, you and only you have full control over what you publish. The most interesting blog entries or those blog entries that fit the site's topic well might get promoted to the front page by the community or by users with the access do this.");
+ break;
}
return $output;